Just want to my first jobinterview, I think I did more then ok.
For the people who are interested I'll post some of the questions they asked me.
Explain inversion of control
What is rest
What is jpa
Explain dependency injection
How can you unit test without the dependencies
What is normalitation and what is it's advantage
Why would anyone use a framework
What is spring MVC
What is the difference between jdbc and hibernate
It's good to be able to use someting, it's better to understand how it works.
There are myriad of Java interview preparation blogs, videos, youtube, etc to prepare. These Java interview questions & answers vary -- core to advanced, Java enterprise edition to Spring, open-ended questions to judge experience, BigData to low latency Q&As, 16 technical key areas like performance, coding, memory management, transaction management, concurrency, scalability, etc. So, step by step get a good handle.
I've failed in many technical interviews before. So I would like to add that you should practice coding interview questions on sites like geeksforgeeks/interviewbit.com. Also, try to search for company specific interview questions. For example here is a link to amazon interview questions- https://www.interviewbit.com/amazon-interview-questions/
I've solved around 100 + problems on interviewbit and I've learned so many things and my confidence level is also increased now.
I can say that the best way to prepare for technical interview is to practice,practice,practice coding problems online.
For me being confident in following, is absolutely must to succeed in interviews or as a java developer-
3)nifty features of java 8
6)Every interview I attended before landing a job, I was asked in different permutations about Comparable and comparator. Weird.
7) Learn spring. It is easy and every other company uses it.
8) exception handling and caveats.
Also interviews tend to focus on the weird and whacky. Spend some time on edge cases.
9)final, finally and finalise. Another weird one. But beginners often fumble.
10) A touch up on multithreading.
That's all I can think of. Good luck
One pretty comprehensive one-stop resource I'd recommend is "Coderust: Hacking the Coding Interview" on Educative. The good thing with them is it's all in one place in your browser, so you don't have to worry about combining multiple resources, switching back and forth, etc.