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 / duke
Use virtual class concept
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is abstraction with real time example?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
What is endianness?
What new()is different from malloc()?
What's the best free c++ profiler for windows?
What is a constant? Explain with an example.
Name the debugging methods that are used to solve problems?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Define Virtual function in C++.
What are the extraction and insertion operators in c++? Explain with examples.
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Is swift faster than c++?
What are static type checking?
Explain what is class definition in c++ ?
Differentiate between the manipulator and setf( ) function?