1.

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 wantThe question was posed to me in an online interview.This interesting question is from Objects in portion OOPs Concept & Features of Object Oriented Programming

Answer»

Right answer is (d) As MANY as you want

The best explanation: You can create as many OBJECTS of a specific class as you want, provided enough MEMORY is AVAILABLE.



Discussion

No Comment Found

Related InterviewSolutions