*Based on answer choices A-E, what is the correct option?
5. Which is an acceptable declaration of a Java nested class named "Outer"?
A. public class Outer { class Inner { } }
B. public class Outer { public class Inner { } }
C. public class Outer { static class Inner { } }
D. public class Outer { private class Inner { } }
E. All of the options
E. All of the options
Comments
Leave a comment