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
What is for loop and its syntax?
Where is pseudocode used?
Which is better struts or spring?
What is encapsulation process?
What is pointer in oop?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is destructor oops?
Can we have inheritance without polymorphism?
How do you use inheritance in unity?
Can static class have constructor?
when to use 'mutable' keyword and when to use 'const cast' in c++
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is the purpose of enum?
What is protected in oop?
Write a c++ program to display pass and fail for three student using static member function