Sail E0 Webinar

MCQs

Total Questions : 57 | Page 6 of 6 pages
Question 51.

Which of the following term is used for a function defined inside a class?


  1.    Member Variable
  2.    Member function
  3.    Class function
  4.    Classic function
 Discuss Question
Answer: Option B. -> Member function


Question 52.

Which of the following concept of oops allows compiler to insert arguments in a function call if it 

is not specified?


  1.    Call by value
  2.    Call by reference
  3.    Default arguments
  4.    Call by pointer
 Discuss Question
Answer: Option C. -> Default arguments


Question 53.

Which of the following statements is correct?


  1.    Base class pointer cannot point to derived class.
  2.    Derived class pointer cannot point to base class.
  3.    Pointer to derived class cannot be created.
  4.    Pointer to base class cannot be created.
 Discuss Question
Answer: Option B. -> Derived class pointer cannot point to base class.


Question 54.

Which of the following is not the member of class?


  1.    Static function
  2.    Friend function
  3.    Const function
  4.    Virtual function
 Discuss Question
Answer: Option B. -> Friend function


Question 55.

Which of the following concepts means determining at runtime what method to invoke?


  1.    Data hiding
  2.    Dynamic Typing
  3.    Dynamic binding
  4.    Dynamic loading
 Discuss Question
Answer: Option C. -> Dynamic binding


Question 56.

Which of the following type of class allows only one object of it to be created?


  1.    Virtual class
  2.    Abstract class
  3.    Singleton class
  4.    Friend class
 Discuss Question
Answer: Option C. -> Singleton class


Question 57.

Which of the following is not a type of constructor?


  1.    Copy constructor
  2.    Copy constructor
  3.    Default constructor
  4.    Parameterized constructor
 Discuss Question
Answer: Option B. -> Copy constructor


Latest Videos

Latest Test Papers