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
What is finalize() function in java?
Why wait and notify methods are declared in object class?
What is static in java?
Can a final method be overloaded?
How do you calculate square roots?
Does google use java?
What about instanceof operator in java?
Explain a situation where finally block will not be executed?
What is variable argument in java?
What is the collection interface?
What is boolean query?
Explain JMS in detail.
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
Which class is the superclass for all the classes?
Why we use set in java?