• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - Can a private method of a superclass be declared within a subclass?

Answer - Sure. A private field or method or inner class belongs to its declared class and hides from its subclasses. There is no way for private stuff to have a runtime overloading or overriding (polymorphism) features.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners