Multiple Choices
Answer (Choose 1 answer)
public class Q {
What happens when you try to compile and run the following code?
static String s;
public static void main(String[] args) { System.out.println(">>" + s + "<<");}
}
A. The code does not compile
B. The code compiles, and prints out >><<
C. The code compiles, and prints out >>null<<
D. The code compiles, and prints out >>s<<