how you will prevent inheritance is there any other way
other than inheritance?
Answer Posted / marx
If you declare the class as a final,we cant inherit the
class.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
why java does not support unsigned keyword?
What does s mean in regex?
What is a static method in java?
What are the 3 types of loops in java?
What is the major difference between linkedlist and arraylist?
What programs use java?
How many bytes is double?
What does arrays sort do in java?
what is session in java?
Which is better arraylist or vector?
Can constructor be synchronized?
Why pointers are not used in java?
Can a class have multiple subclasses?
What is parseint?
What is executor memory?