What is an abstract class?

Answers were Sorted based on User's Feedback



What is an abstract class?..

Answer / btech

Class that has at least one pure virtual function
Class that Can not be instantiated


Is This Answer Correct ?    6 Yes 0 No

What is an abstract class?..

Answer / naveen kumar

Abstract classes are classes that contain one or more abstract methods. Abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.

Is This Answer Correct ?    3 Yes 0 No

What is an abstract class?..

Answer / vikas

Note that even if the destuctor is pure virtual, the class
would become abstract.

Vikas
http://www.cppquestions.com/

Is This Answer Correct ?    2 Yes 0 No

What is an abstract class?..

Answer / sreenathroyal

hiding the data

Is This Answer Correct ?    0 Yes 0 No

What is an abstract class?..

Answer / hrpynux@gmail.com

An abstract class is a template definition of methods and variables of a class (category of objects) that contains one or more abstracted methods. ... Declaring a class as abstract means that it cannot be directly instantiated, which means that an object cannot be created from it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ Interview Questions

How will you print a list of all unique words from a string which may contain repeated words?

0 Answers   Adobe,


How many times will this loop execute? Explain your answer.

0 Answers  


When would you use a pointer? A reference?

0 Answers   Amazon,


what is the difference between a pointer and a reference?

0 Answers   Amazon, Blue Star, C DAC,


Name the operators that cannot be overloaded.

1 Answers   Wipro,






It is possible to build a C++ compiler on top of a C compiler. How would you do this?

0 Answers   Amazon,


How to invoke a C function using a C++ program?

0 Answers   Alter,


What do you by Function Overloading in C++?

0 Answers   Akamai Technologies, Infogain,


write a program To generate the Fibonacci Series.

0 Answers   Accenture,


Tell us the size of a float variable.

0 Answers   Accenture,


Discuss the role of C++ shorthands.

0 Answers   Adobe,


Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.

1 Answers  


Categories