• +91 9723535972
  • info@interviewmaterial.com

OOP Interview Questions and Answers

Question - Does a class inherit the constructors of its superclass?

Answer - A class does not inherit constructors from any of its super classes. If a class is declared without any access modifiers, where may the class be accessed? A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners