How would you stop a class from class from being derived or
inherited.
Answer Posted / selvam
but onething.If you make constructor as private you will
not be able to create an object of that class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Why oops is important?
What is difference between data abstraction and encapsulation?
Can you explain polymorphism?
What do you mean by overloading?
Is enum a class?
What are the benefits of polymorphism?
Why is there no multiple inheritance?
What is this pointer in oop?
How to improve object oriented design skills?
Why is abstraction needed?
what type of question are asked in thoughtworks pair programming round ?
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 and I oop mean?
write knight tour problem which is present in datastructure