How would you stop a class from class from being derived or
inherited.
Answer Posted / stavanm
By Creating class as a final
final class A{
// code
}
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is an advantage of polymorphism?
what's the basic's in dot net
What does it mean when someone says I oop?
What is inheritance in simple words?
Why is there no multiple inheritance?
what is graphics
What is the difference between abstraction and polymorphism?
What is byval and byref? What are differences between them?
explain sub-type and sub class? atleast u have differ it into 4 points?
What are oops methods?
What is encapsulation in simple terms?
What is abstract class in oop?
What is protected in oop?
What polymorphism means?
What is polymorphism oop?