Private class SampleA { }class SampleB extends SampleA { }What is wrong in the above code?

This question is related to Oracle Interview

Showing Answers 1 - 4 of 4 Answers

Shirshendu

  • Sep 14th, 2006
 

A top level class in Java cannot be a private class

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions