How would you stop a class from class from being derived or
inherited.
Answer Posted / dom wadegu
by declearing a sub-class protected.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is abstraction used?
What is the important feature of inheritance?
What are properties in oop?
What is the importance of oop?
is there any choice in opting subjects like 4 out of 7
What is a function in oop?
What is the use of oops?
Explain virtual inheritance?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is overloading in oop?
What is the example of polymorphism?
What is encapsulation in oops?
What are constructors in oop?
What is debug class?what is trace class? What differences are between them? With examples.
What is polymorphism explain its types?