1.

Which of the following is a correct statement about the C#.NET code given below? struct book { private String name; private int pages; private Single price; } book b = new book();

A. New structure can be inherited from struct book
B. When the program terminates, variable b will get garbage collected
C. The structure variable b will be created on the stack
D. When the program terminates, variable b will get garbage collected
Answer» D. When the program terminates, variable b will get garbage collected


Discussion

No Comment Found