X

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

( 5 )  .  1 Rating  .  8 Attempts
25 views   .  0 comments  .   . 

Download Solution PDF
  1.  Contents of s1 and s2 will be exactly same.

  2.  The two objects will get created on the stack.

  3.  Contents of the two objects created will be exactly same.

  4.  The two objects will always be created in adjacent memory locations.

Give Rating
Report

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

Write Your Comments or Explanations to Help Others
Comments(0)



No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Explore Other Libraries

X




Copyright (c) 2021 TuteeHUB

OPEN APP
Channel Join Group Join