1.

Which of the following statements is correct about the C#.NET code snippet given below? class Trial { int i; Decimal d; } struct Sample { private int x; private Single y; private Trial z; } Sample ss = new Sample();

A. Ss will be created on the heap.
B. Trial object referred by z will be created on the stack.
C. Z will be created on the heap.
D. Ss will be created on the stack.
Answer» E.


Discussion

No Comment Found