One kind likes to ask basic knowledge, requires solid basic skills and has a certain understanding of jvm GC memory model. Of course, he will also look at what you know on your resume and ask, for example, if you write that you are familiar with mybatis, then he may ask, what is the difference between $ {} and # {} in mapper?
Some people like to ask about project experience. They will look at your resume and ask about the project experience, difficulties encountered, how to solve them and so on.
Others will ask something new, such as what you have learned recently, and then let you talk about it.
Of course, some people will ask.
All the above are personal opinions, which are some situations I encountered in the interview.
I feel that the interview depends on the situation. Sometimes the answer is very good, but the conversation with the interviewer is average, sometimes it can be very good, and I have been chatting for a long time unconsciously.
As a newcomer to the workplace, don't be afraid of the interview. This is the first level. Go to the interview bravely, send him a hundred resumes, choose slowly and face slowly.