How to restrict a member of a class from inheriting by its sub classes?

Vedant Kashyap
Vedant Kashyap

Posted On: Feb 22, 2018

 

Related Questions

Java inheritance interview questions

Enlist diffrent types of Inheritance supported by Java?

The various kinds of inheritance supported by Java.Single Inheritance: Single Inheritance is the easy inheritance of all, while a group lengthens another group (Simply one class) then one cal...