- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
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();

1.1,3

2.2,4

3.1,2,3

4.1,4

Posted Date:-2021-02-25 10:32:15


More MCQS Questions and answers

Search