Classes and Objects

Q1:
Which of the following statements are correct about objects of a user-defined class called Sample?
  1. All objects of Sample class will always have exactly same data.
  2. Objects of Sample class may have same or different data.
  3. Whether objects of Sample class will have same or different data depends upon a Project Setting made in Visual Studio.NET.
  4. Conceptually, each object of Sample class will have instance data and instance member functions of the Sample class.
  5. All objects of Sample class will share one copy of member functions.

A 1, 3

B 2, 4

C 4, 5

D 3, 5

E None of these

ANS:C - 4, 5

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.