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.

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
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.

1.1, 3

2. 2, 4

3.4,5

4.3,5


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!