Exercice 5 Variables


#1

In exercice 5, is correct the code?

public class Variables {
public static void main(String[] args) {

	int myNumber = 42; 
	boolean isFun = true; 
	char movieRating = 'A'; 
System.out.println(42);
System.out.println(true);
System.out.println('A');

}

}


#2

Your variables look great.

If you are seeing an error it is likely because the exercise isn't expecting to see those println commands.


#3

OKAlbions! Is cool for me. Not error.