How would you stop a class from class from being derived or
inherited?The constructer should not be Private,as object
instantiation should be allowed.
Answer Posted / s.v.vignesh
heyy .. very simple yar..
juz add final keyword b4 t class..
u cannot inherit tat class.....
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the difference between a reference and a pointer?
Explain deep copy?
What is a pdb file?
What is c++ & why it is used?
Define a constructor?
What is conditions when using boolean operators?
Who discovered c++?
How a modifier is similar to mutator?
What is wrapper class in c++?
Write about c++ storage classes?
What is endianness?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
What is setfill c++?
What does std mean in c++?
What is iterator c++?