GATE-Programming Methodology Questions and Answers
Practice ModeShowing 10 of 105 questions
Q41
Static data members
Answer: Option D
Q42
Which of the following statements are true.
I. Constructors can be virtual.
II. Destructors can't be virtual
Answer: Option B
Q43
Choose the correct statement
I. Non-const object can't call constant member
II. Constant objects can't call non-const member function
III. A constant object can change non constant member function.
IV. A constant object can't change non-constant member function.
of these statement
Answer: Option D
Q44
Dynamic destruction is
Answer: Option B
Q45
Nested class is
Answer: Option A
Q46
Static class member's definitions and intializations occurs
Answer: Option C
Q47
function overloading done at
Answer: Option B
Q48
Protected members are accessible to
Answer: Option C
Q49
A derived class
Answer: Option A
Q50
The data type created by the data abstraction process is called
Answer: Option C