Font size:
Print
Question:
1. Only name
2. Both name and marks
3. Only S1
4. Both SI and S2
Check Answer
From the following Java code determine the
attributes of the class student:
class student
{
string name;
int marks;
}
public static void main()
{
student S1=new student();
student S2=new student();
}
1. Only name
2. Both name and marks
3. Only S1
4. Both SI and S2
Check Answer