what are abstract classes and how they impliment , with
example
Answers were Sorted based on User's Feedback
Answer / manoj kumar
abstract class is a class which may or may not contain
abstract method.
abstract class can,t be instantiated i.e. we can,t
create object of an abstract class.
abstract class can be subclasses .
abstract class is a class which is declared abstract.
if any class contain abstract method then it can be
declared abstract.
example
abstract class{
abstract public void display();//abstract method
}
abstract method is method which is declared but not
implemented i.e. without braces followed by semicolon.
| Is This Answer Correct ? | 8 Yes | 1 No |
A class with atleast one pure virtual function is called
abstract class.It cant be instatiated.It can be used as a
base class for other classes. The class derived from an
abstract base class can be instantiated,provided it should
implement the abstract base class pure virtual function.
| Is This Answer Correct ? | 7 Yes | 0 No |
Give two or more real cenario of virtual function and vertual object
function overridind means and simple program
You have one base class virtual function how will call that function from derived class?
What is meant by oops concept?
A file pointer always contains the __________ of the file
can we make a class static without using static keyword?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
to find out the minimum of two integer number of two different classes using friend function
what is the use of mutable key word
what is difference between c++ language and java language
when my application exe is running nad i don't want to create another exe what should i do
write a programe to calculate the simple intrest and compund intrest using by function overlading