If they are planning to interview you specifically on JAVA, it guarantees questions about OOP. I will list a number of very common questions asked in JAVA interviews:
- It could be about garbage collection:
- What is garbage collection?
- How does JAVA achieve garbage collection?
- How would you implement a garbage collector?
- They may ask you about multithreading:
- How do you avoid synchronisation problems among threads?
- What is a deadlock?
- How do you avoid deadlocks?
- How do you ensure that variables are safe when there are two threads involved
- Then it must be questions about OOP in general:
- 4 main principles of OOP
- Difference between abstract class and interface (this question pops up a lot)
- What is the difference between ArrayLists and arrays?
- When would you prefer to use one over another?
- If you state on your CV that you know C/C++ they will ask you to state the differences between JAVA and C or C++
So in general the list of questions that could be asked is very broad and mainly it is about concepts like OOP, Multithreading, Garbage Collection, about available data structures Collection(s) Interface( trees, maps, lists ).