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
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.. 👍
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
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 😂
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
I'm not sure if it went well for a 6 year exp. Candidate
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();
String employee1 ="Radhika", employee2='"kundan"; String employee3= employee1; if(employee3==employee1) { System.out.println("Both references are same");
Interviewer lacks basic knowledge of scenario creation.
mid section interview got really funny.I don't know wy..employee name1 employee name 2
How much hike tcs gives to 5 yrs experienced java candidate?
15-16 lpa
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
I dont get any calls from LinkedIn all I get is from naukri
calls are lesser from linkedin, you have to broaden linkedin network
Did you got selected?
Yes
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.. 👍
Hi team,
Can you share questions for 10year exp microservice
Bro, what question did you ask to the interviewer?
General like techstack they are using and something about project
You can also find some real time interview question here: ua-cam.com/video/KDxpBup-LE4/v-deo.html
Good basic but scenario based qustions !
Thanks
Hi
Will this be available in the channel afterwards?
Yes
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
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?
How much CTC?
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 😂
Is he got offer?
still waiting for response
Is he still waiting?