Question #183603

*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


Expert's answer

E. All of the options


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS