Answer (Choose 1 answer)
Given the following class definition
public class Droitwich{
class one{
private class two{
public void main(){
System.out.println("two");
}
}
}
Which of the following statements is true?
A. The code will not compile because the classes are nested to more than one level
B. The code will not compile because class two is marked as private
C. The code will compile and output the string two at runtime
D. The code will compile without error
Iv
Exit 32