Q. Which of the following statements are correct? 1. A struct can contain properties. 2. A struct can contain constructors. 3. A struct can contain protected data members. 4. A struct cannot contain methods. 5. A struct cannot contain constants. (Solved)
1. 1,2
2. 3,4
3. 1,2,4
4. 3,5
- a. 1,2