Java OOPs Interview Questions and Answers
Question: What is the 'super' keyword in Java?Answer: The 'super' keyword is used to refer to the superclass, invoking its methods, or accessing its fields. It is often used in the context of method overriding.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: