Objects Multiple Questions and Answers.




1.Which definition best describes an object?
A. Instance of a class
B. Instance of itself
C. Child of a class
D. Overview of a class

2.How many objects can be declared of a specific class in a single program?
A. 32768
B. 127
C. 1
D. As many as you want

3.Which definition best describes an object ?
A. Instance of a class
B. Instance of itself
C. Child of a class
D. Overview of a class

4.How many objects can be declared of a specific class in a single program ?
A. 32768
B. 127
C. 1
D. As many as user want

5.Which among the following is false ?
A. Object must be created before using members of a class
B. Memory for an object is allocated only after its constructor is called
C. Objects can’t be passed by reference
D. Objects size depends on its class data members

»


Read More :

Quick Links

GAT Subject



   Computer Science    English    Agriculture    Botany    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC    PPSC    NTS