Answer Posted / padmas
Abstract class is the class designed for inheritance, for which no object will be created in the programming, but objects created for those classes that are inherit functions, methods from objects of classes those inherited. For example class A is a abstract class ,class B inherits A, objects of class B can be created but not A. These objects use the methods of A also B.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the meaning of c++?
What is operators in c++?
What is the latest c++ version?
Can we create object of interface?
Difference between function overloading and function overriding.
What is overriding in oops?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
Explain operator overloading.
Define type casting in C++.
What is class and example?
Write a program to interchange 2 variables without using the third one.
What is the use of main function in c++?
Explain the FOR loop with a help of a code.
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Differentiate between an external iterator and an internal iterator?