Multiple Choice
Which of the following is the correct way to create an object of the class Sample?1. Sample s = new Sample() ;2. Sample s;3. Sample s; s = new Sample() ;4. s = new Sample() ;
A) 1,3
B) 2,4
C) 1,2,3
D) 4,5
Correct Answer:

Verified
Correct Answer:
Verified
Q25: Which of the following can be used
Q26: Struct's data members are _ by default.<br>A)Protected<br>B)Public<br>C)Private<br>D)Default
Q27: Which of the following will be the
Q28: Which of the following statements is correct
Q29: Which of the following statements are correct
Q31: C# does not support _ constructors.<br>A)parameterized<br>B)parameter-less<br>C)Class<br>D)Method
Q32: Storage location used by computer memory to
Q33: Which one of the following statements is
Q34: A _ creates an object by copying
Q35: Which of the following statements are correct?1.