

MCQOPTIONS
Saved Bookmarks
1. |
Choose the correct option for the following code. class student { int marks; } student s1; student s2=2; |
A. | Object s1 should be passed with argument. |
B. | Object s2 should not be declared |
C. | Object s2 will not be created, but program runs |
D. | Program gives compile time error |
Answer» E. | |