[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Technical Discussion :: Java

10. What is an abstract class?Can we instantiate an abstract class?

Answer:

A virtual function, equated to zero is called a pure virtual function. It is a function declared in a base class that has no definition relative to the base class. A class containing such pure function is called an abstract class.
It objectives are
• Provide some traits to the derived classes.
• To create a base pointer required for achieving run time polymorphism.

Asked In :: Wipro iGate Syntel Inc. Accenture Sopra Steria Societe Generale

Post Your Answer Here:

Name *
Email
Alert me

Post Your Reply Here:

Report Error

Please Login First Click Here