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




31. A class's inherited access is overrided to make an individual member's access, more:
A. conservative
B. liberal
C. either (a) or (b)
D. none of these

32. A function that is called automatically each time an object is created is a (n):
A. contractor
B. constructor
C. builder
D. architect

33. When an object-oriented program detects an error within a function, the function:
A. catches a message
B. throws a fit
C. throws an exception
D. catches an exception

34.A constructor always has:
A. communication cohesion
B. temporal cohesion
C. logical cohesion
D. no cohesion

35.When the compiler cannot differentiate between two overloaded constructors, they are called:
A. overloaded
B. destructed
C. ambiguous
D. dubious

«



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