Thanks very useful... How many rounds we have for tcs java interview... How long it takes to know whether we got selected or not..? Please share telegram group name.. 👍
21:30 .. Lest assume Both POJO have String name as field .. List std =mpl.stream().map(s -> new Student(s.getName())).collect(Collectors.toList()); Correct ?
@@suri1171 not cloning here boss here we are writing same boiler plate code multiple times if we performing cloning simply we can declire refrence class variable in ur employees class then u can directly access all the functionality has relationship called aggregation 😂
I think there are lots of sources for correct answer, most important thing is you have the questions that you don't know. For answers you can ask in our group. We reply with answers
@@JavaTechies not completely correct answer when we are take the country as a key and currency as a multiple value then ur reply we can use list but that's partially corect here we can take map
No he was correct that's method hiding if both parents and child are static..early binding/compile time polymorphism....it's not overriding or overloading
String employee1 ="Radhika", employee2='"kundan"; String employee3= employee1; if(employee3==employee1) { System.out.println("Both references are same");
For this getcurrency() map.put(String,List) is this correct?
And for static class there is no overriding it's compile time polymorphism
We can use Set also. To avoid duplicate values.
Hashmap map= new Hashmap();
I'm not sure if it went well for a 6 year exp. Candidate
sorry but both interviewers and candidate are so much confused !!! too much basics questions but not proper way to asked !!! hit like if you agreed
Thanks very useful...
How many rounds we have for tcs java interview...
How long it takes to know whether we got selected or not..?
Please share telegram group name.. 👍
21:30 .. Lest assume Both POJO have String name as field .. List std =mpl.stream().map(s -> new Student(s.getName())).collect(Collectors.toList()); Correct ?
yeah, there's no direct way to copy. It has to be iterated and deep cloned.
@@suri1171 not cloning here boss here we are writing same boiler plate code multiple times if we performing cloning simply we can declire refrence class variable in ur employees class then u can directly access all the functionality has relationship called aggregation 😂
mid section interview got really funny.I don't know wy..employee name1 employee name 2
Good basic but scenario based qustions !
Thanks
Thanks for sharing these videos. Please If you can briefly give the correct ans to those or atleast share a text with ans to them..
I think there are lots of sources for correct answer, most important thing is you have the questions that you don't know.
For answers you can ask in our group. We reply with answers
You can join our telegram
@@JavaTechies not completely correct answer when we are take the country as a key and currency as a multiple value then ur reply we can use list but that's partially corect here we can take map
Hi team,
Can you share questions for 10year exp microservice
Hi
Will this be available in the channel afterwards?
Yes
4:03 Static can be overload but not overriding, you gave wrong answer there...
Thanks for correction
No he was correct that's method hiding if both parents and child are static..early binding/compile time polymorphism....it's not overriding or overloading
He was right.. it's method hinding
How much hike tcs gives to 5 yrs experienced java candidate?
15-16 lpa
I dont get any calls from LinkedIn all I get is from naukri
calls are lesser from linkedin, you have to broaden linkedin network
How much CTC?
You can also find some real time interview question here: th-cam.com/video/KDxpBup-LE4/w-d-xo.html
Bro, what question did you ask to the interviewer?
General like techstack they are using and something about project
Did you got selected?
Yes
Interviewer lacks basic knowledge of scenario creation.
Is he got offer?
still waiting for response
Is he still waiting?
class Student{
int age;
String name;
//parametrized constructot
//getter
//setter
}
class Employee{
int age;
String name;
//parametrized constructot
//getter
//setter
}
class ListStudentImpl{
public List getEmployee(){
List emp = new ArrayList();
emp.add(new Employee(1,"Ram");
.
.
emp.add(new Employee(100,"Shyam");
return emp
}
}
class mainClass{
List empList = new ListStudentImpl().getEmployee();
List stuList = new ArrayList();
for(Employee emp : empList){
stuList.add(emp.getRoll, emp.getName);
}
}
I think the interviewer was looking for map method in stream Api to do the transformation?