Which of the following statement is correct regarding destructor of base class?
Destructor of base class should always be static.
Destructor of base class should always be virtual.
Destructor of base class should not be virtual.
Destructor of base class should always be private.
Additional Questions
Which of the following two entities (reading from Left to Right) can be connected by the dot operator? |
Answer |
How can we make a class abstract? |
Answer |
Which of the following access specifies is used in a class definition by default? |
Answer |
Which of the following function prototype is perfectly acceptable? |
Answer |
Which of the following statement is correct? |
Answer |
Which of the following statement is correct? |
Answer |
Which of the following statement will be correct if the function has three arguments passed to it? |
Answer |
Which of the following statement is incorrect? |
Answer |
Which symbol will be used with grep command to match the pattern pat at the beginning of a line? |
Answer |
Which command is used to sort the lines of data in a file in reverse order |
Answer |