Even if you think you will code in Java during your whole internship, you are wrong. They can put you in any project, and you might end up, for example, as a frontend developer (like I did). In my project, I was able to choose whether to focus on the frontend or backend; however, not everyone is that lucky, so you may end up doing something you're not really interested in.