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 encapsulation example?
Why we use classes in oop?
what are the different types of qualifier in java?
What is overloading in oop?
Get me a number puzzle game-program
What is class in oop with example?
What is destructor in oop?
What is interface in oop?
What are the benefits of oop?
Which is not an object oriented programming language?
Can you inherit a private class?
How does polymorphism work?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is difference between pop and oop?
What is the fundamental idea of oop?