Rearrange the following code so that it forms a correct program that prints out the letter Q:
}
public static void main(String[] a) {
}
System.out.println("Q");
public class Q {
I do not know what to do in this question. Any help is appreciated
It says this for some reason
1. Compiler error: class Q is public, should be declared in a file named Q. java
2. public class Q
3. ^