OOPS Concepts - General Questions Multiple Questions and Answers.




1.Which of the following type of class allows only one object of it to be created?
A. Friend class
B. Singleton class
C. Abstract class
D. Virtual class

2.Which of the following is not a type of constructor?
A. Parameterized constructor
B. Default constructor
C. Friend constructor
D. Copy constructor

3.Which of the following statements is correct?
A. Pointer to base class cannot be created.
B. Pointer to derived class cannot be created.
C. Derived class pointer cannot point to base class.
D. Base class pointer cannot point to derived class.

4.Which of the following is not the member of class?
A. Virtual function
B. Const function
C. Friend function
D. Static function

5.Which of the following concepts means determining at runtime what method to invoke?
A. Data hiding
B. Dynamic Typing
C. Dynamic binding
D. Dynamic loading




Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers