(45)
(Choose 1 answer)
Given the following class definition
public class Droitwich{
class one{
private class two{public void main(){
A. The code will not compile because the classes are nested to more than one level
System.out.println("two");
}
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
Which of the following statements is true?
D. The code will compile without error
}
}