Solved

Which of the Following Statements Is Correct About the C

Question 31

Multiple Choice

Which of the following statements is correct about the C#.NET code snippet given below?class Student s1, s2; // Here 'Student' is a user-definedclass. s1 = new Student() ;s2 = new Student() ;


A) Contents of s1 and s2 will be exactly same.
B) The two objects will get created on the stack.
C) Contents of the two objects created will be exactly same.
D) The two objects will always be created in adjacent memory locations.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents