Which of the folowing are correct for the Structs and Classes ?

  1. Both are essential templates for which we can create objects.

  2. Both structs and classes are reference types and are stored on heap .

  3. For both struct and class, we use 'new' keyword to declare an instance.

  4. All of the above are correct


Correct Option: A,C

Find more quizzes: