What are your career goals?
Via this question (or its sister, Where do you see yourself in five years?), the interviewer is trying to see whether this position fits with your career goals. They seek to understand if you see this position as part of your career path, or if you have other reasons (apart from the money) for doing it. It is hard to describe a detailed career path, but you could give an answer that shows your commitment and motivation to do your job right. For example, you could say, My current goal is to work as a Java backend developer on challenging projects that will help me to accumulate more experience. In several years, I see myself involved in architecting complex Java applications. Beyond that is too far away to think of right now.