i am doing a homework assignment and i have been given this:

class Prob10{
public static void main(String[] args){
System.out.println("The instance variable contains: "
+ new Prob10().aMethod().instanceVariable
+ "\nTerminating");

Without changing main I must write code that will output the following:

The instance variable contains: 10

i don't understand what they are trying to do in the method call could someone
please explain it to me.

Thank you