Answer Posted / lakshmi
Constructor is the function that has class name as its
function name with no return type and is used to initialize
the data members of the class.
virtual function is the function that can be overriden in
the derived class. it uses virtual keyword. it may or may
not be overloaded in derived class.
abstract function must be overridden in the derived class
inorder to create the instance.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is meant by method?
What is thread pool in java with example?
What is super in java?
Is singleton thread safe in java?
What is a class in java?
What is a for loop in java?
When to use runnable interface vs thread class in java?
How will you communicate between two applets?
What is array list in java?
Explain importance of throws keyword in java?
What is polymorphism and what are the types of it?
What are the steps in the jdbc connection?
How do you use substring in java?
What is an example of a boolean?
What is the buffer limit?