Discussion :: 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();
Answer : Option A
Explanation :
No answer description available for this question.
Be The First To Comment