Object Oriented Programming Using C++ - Section 5 Multiple Questions and Answers.




21.It is illegal to make objects of one class members of another class
A. TRUE
B. FALSE
C. depends upon the kind of object
D. None of them

22.Catch blocks must _____
A. appear in every object-oriented program
B. appear within try blocks
C. appear immediately after throw statements
D. appear immediately after try blocks

23.An exception specification begins with the keyword _____
A. exception
B. try
C. throw
D. catch

24.You construct a class in two sections, known as the _____
A. header and body
B. type and parameters
C. declaration and implementation
D. pointer and variable

25.The statement i*=3 is equivalent to
A. i = 3*
B. i = 3
C. i* = 3
D. i = i * 3

«»



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