Which of the following statements are correct about Structures used in C#.NET? A Structure can be declared within a procedure. Structs can implement an interface but they cannot inherit from another struct. struct members cannot be declared as protected. A Structure can be empty. It is an error to initialize an instance field in a struct.

- 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 Structures used in C#.NET?

A Structure can be declared within a procedure.
Structs can implement an interface but they cannot inherit from another struct.
struct members cannot be declared as protected.
A Structure can be empty.
It is an error to initialize an instance field in a struct.

1. 1 2 4

2.2 3 5

3.2 4

4.1 3


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!