Which of the following statements are correct about data types? 1. Each value type has an implicit default constructor that initializes the default value of that type. 2. It is possible for a value type to contain the null value. 3. All value types are derived implicitly from System.ValueType class. 4. It is not essential that local variables in C# must be initialized before being used. 5. Variables of reference types referred to as objects and store references to the actual data.

- 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 data types?

1. Each value type has an implicit default constructor that initializes the default value of that type.
2. It is possible for a value type to contain the null value.
3. All value types are derived implicitly from System.ValueType class.
4. It is not essential that local variables in C# must be initialized before being used.
5. Variables of reference types referred to as objects and store references to the actual data.

1.1,3,5

2.2,4

3.3,5

4.2,3,5

Posted Date:-2021-02-25 10:24:19


More MCQS Questions and answers

Search
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!