How would you stop a class from class from being derived or
inherited.
Answer Posted / naveen
by making the constructor private....
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the difference between procedural programming and oops?
Can static class have constructor?
what is difference between class template and template class?
What is the difference between a constructor and a destructor?
What are the three parts of a simple empty class?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the types of inheritance?
which feature are not hold visual basic of oop?
What is overloading in oop?
what is different between oops and c++
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is multilevel inheritance explain with example?
What is abstraction and encapsulation?
What are benefits of oop?
What is abstraction example?