How would you stop a class from class from being derived or
inherited.
Answer Posted / ravinandan
Make constructor of the class as private.
| Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
Which is better struts or spring?
Give two or more real cenario of virtual function and vertual object
what type of questions
Prepare me a program for the animation of train
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is polymorphism give a real life example?
What is debug class?what is trace class? What differences are between them? With examples.
What is the difference between procedural programming and oops?
What are the important components of cohesion?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is abstraction and encapsulation?
Can main method override?
What are the three parts of a simple empty class?
How can you overcome the diamond problem in inheritance?
Why interface is used?