Can we have same method names in one java class? How object is created if there is no constructor in the class? What is the diff between abstract class and interface? If a method throws an NullPointerException in super class, can we override the method with throws RuntimeException in subclass? Comparable vs Comparator? When to use comparable and when to use comparator? Can we acieve multiple sorting technique using comparable? Suppose you have Employee class (id, name, age, salary), I want to sort Employee using salary? Diff between == operator and .equals method? What type of GC are available and How to choose? What is BigInteger and how do you initialize? Why is Java not a 100% object oriented language? How do you avoid NullPointerException in java 8? What are the diff methods in Optional class in java 8? What is Functional interface? Can you name some of the Functional interfaces? What is Cloneable interface (Marker interface)? What is Marker interface? Can you give some examples? Diff between throws vs throw vs Throwable? What is lambda expression? I have a list of strings values, find distinct string from the list? There is an employee table, Write an SQL query whose middle name is kumar? What is Foreign constraint? Can we use HashMap in a multithreaded environment? Can we put duplicate elements in ArrayList? What is CopyOnWriteArrayList? What type of annotations did you use while creating Rest api? How you are connecting with database from spirngboot application? What is the annotation you use in java class to fetch from properties file? Can you externalize the configuration? (related to above question)
ist question set the tone.Plus the exception question was easy.But its ok My ist interveiw after many years did one dreadful mistake of saying hasmap when duplicate keys are inserted it doesnot allow it(true)because of hash function/equals contract or whatever explanation one can give + value is replaced with new value(i really tanked this value replacing thing).I gave partial correct answer.My point it can happen to any of us sometimes..Keep practicing we shall move forward.
The interviewer is smart, fooled the candidate at so many places : 1. Is Throwable a class ? candidate with confidence - YES 2. Cloneable , so the candidate was fooled into saying its a functional interface but its a Marker Interface. 3. On asking how to use Comparator Comparable, the Candidate kept beating about the bush, could have straightway answered Collections.sort(employees) for comparable and Collections.sort(employees, (e1,e2) -> {return e1.salary - e2.salary;}) 4. Exception overriding in child class method is possible if there is inheritance in the exceptions being used. 5.
This is the easiest interview I've seen for a 5+ yrs experienced person. I think you were just confused while answering most of the questions. Just keep on attending interviews, you'll eventually improve.
aise interviewers hme nhi milte !!! sala ek question me skip krne ka nhi tha, means fresher level pe tha !!! and bhai plz work on your communication as well as technical skills , like "NOT REALLY" tone bhut odd lg rha yha pe !!!
I can bet he is cheating/have someone on his side saying him answer, he is able to tell what is lambda function but he doesn’t know it is used in Stream APIs while writing programs.
Can we have same method names in one java class?
How object is created if there is no constructor in the class?
What is the diff between abstract class and interface?
If a method throws an NullPointerException in super class, can we override the method with throws RuntimeException in subclass?
Comparable vs Comparator?
When to use comparable and when to use comparator?
Can we acieve multiple sorting technique using comparable?
Suppose you have Employee class (id, name, age, salary), I want to sort Employee using salary?
Diff between == operator and .equals method?
What type of GC are available and How to choose?
What is BigInteger and how do you initialize?
Why is Java not a 100% object oriented language?
How do you avoid NullPointerException in java 8?
What are the diff methods in Optional class in java 8?
What is Functional interface?
Can you name some of the Functional interfaces?
What is Cloneable interface (Marker interface)?
What is Marker interface? Can you give some examples?
Diff between throws vs throw vs Throwable?
What is lambda expression?
I have a list of strings values, find distinct string from the list?
There is an employee table, Write an SQL query whose middle name is kumar?
What is Foreign constraint?
Can we use HashMap in a multithreaded environment?
Can we put duplicate elements in ArrayList?
What is CopyOnWriteArrayList?
What type of annotations did you use while creating Rest api?
How you are connecting with database from spirngboot application?
What is the annotation you use in java class to fetch from properties file?
Can you externalize the configuration? (related to above question)
Hi
Only u r the real man in this world 😅
Seriously this is the most easiest interview ever seen for 5+ experienced candidate
Questions are very easy for 5+. Still candidate was not able to answer questions we require on daily basis. Try hard and all the best 👍🏼
ist question set the tone.Plus the exception question was easy.But its ok My ist interveiw after many years did one dreadful mistake of saying hasmap when duplicate keys are inserted it doesnot allow it(true)because of hash function/equals contract or whatever explanation one can give + value is replaced with new value(i really tanked this value replacing thing).I gave partial correct answer.My point it can happen to any of us sometimes..Keep practicing we shall move forward.
Thank you for sharing this content, good luck for the next interviews !
Thanks for watching!
The interviewer is smart, fooled the candidate at so many places :
1. Is Throwable a class ? candidate with confidence - YES
2. Cloneable , so the candidate was fooled into saying its a functional interface but its a Marker Interface.
3. On asking how to use Comparator Comparable, the Candidate kept beating about the bush, could have straightway answered Collections.sort(employees) for comparable and Collections.sort(employees, (e1,e2) -> {return e1.salary - e2.salary;})
4. Exception overriding in child class method is possible if there is inheritance in the exceptions being used.
5.
For me also the question level did not seems for 5+ rather 2-3 YOE.
Its unfortunate, please check the latest videos
Nice 👍 helps us bro keep sharing guys
We can have two methods with same name but with different parameters which is Method overloading
Yes buddy, you are correct.
This is the easiest interview I've seen for a 5+ yrs experienced person. I think you were just confused while answering most of the questions. Just keep on attending interviews, you'll eventually improve.
If the candidate is not able to answer easy questions, then the level of further questions will be decreases so the chances of selection of candidate.
@@javainterviewbuddy567 Yeah totally agreed. My comment was actually meant for the candidate. I think I mistaken you as the candidate😀
@@javainterviewbuddy567 wow nice idea 💡
JavaTpoint open kar ke bhi Ans ni de pa ra basic questions ka...
First question makes a impression as per my experience and he spoiled it.
I also think the same, First answer can make the difference.
Bro.. for every question u are answering some random stuff. . But in background u are searching for answer .. then second time u are answering right..
Bro actually he doing cheet . I know How
What is that question copy on arraylist?
Did this candidate have really experience of 5year ?? Seems like 1.5 year
Unfortunatly
Exactly..
Can u please provide only selenium with java interview questions
This channel is mainly focused on java.
nice interview. interview taking person is so professional and candidate also.
Thank you
👍
Have you selected in this round
aise interviewers hme nhi milte !!! sala ek question me skip krne ka nhi tha, means fresher level pe tha !!! and bhai plz work on your communication as well as technical skills , like "NOT REALLY" tone bhut odd lg rha yha pe !!!
jese jawab honge wese hi questions honge, agar simple question ka hi answer naa mile to tough kyu hi punche
@@javainterviewbuddy567 yar ye bat bi shi lg rhi , cz mphsis me 1.5 hours tk interview chla and stil no response
Koi early joiner mil gya unhe
It's looks like freshers interview
Hey bro why are you doing this . Please hide that symbol, i hope you understood ,what am i talking about 😂
I can bet he is cheating/have someone on his side saying him answer, he is able to tell what is lambda function but he doesn’t know it is used in Stream APIs while writing programs.
Maybe
22:09 CopyOnWriteArraylist is fail safe class.
Yes
HCL TECHNOLOGIES Live interview
ua-cam.com/video/WmxlNpEfL04/v-deo.html
hello ..Do you hiring 2-3 yrs experience guy right now.If so please let me know.
Okay
It was really 5+ years experience because I have 1.5 years experience and I knew all the answers you ask.
Doing great buddy 👍❤️
Thanks a ton. I am glad , it is helpful for your interview preparation, all the very best.
Yes 1 or 10 yrs the base or core concepts are same for all But they will ask more depth for more experienced people. that is the main difference..
Bro nothing like that it's technical round he will be having another one round, coding and adv core java
He was selected?
Yes, but I think not went through next round.
Who is hee??
He Doesn't even know the basic concepts...😶
Its Unfortunate. Nowadays, most of the things are available with just a Google search.
Are u cleared this round??
Unfortunately Not. :(
He doesn't sound like 5+
Even I am surprised.
..5.6years seriously ..
Yes.
Ye kya candidate ko knowledge nhi h
hota hai aisa bhi