How should a class be declared to make that class as not inheritable?
Answers
Answered by
0
❏The super keyword in Java is a reference variable which is used to refer immediate parent class object.
❏Whenever you create the instance of subclass, an instance of parent class is created implicitly which is referred by super reference variable.
Similar questions
English,
5 months ago
Science,
5 months ago
Computer Science,
9 months ago
Computer Science,
9 months ago
English,
11 months ago