Home » C# Programming » Classes and Objects

Which of the following is the correct way to create an object of the class Sample? Sample s = new Sample(); Sample s; Sample s; s = new Sample(); s = new Sample();

Correct Answer: 1, 3

← Previous Question Next Question→

More Questions from Classes and Objects

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion