Font size:
Print
Question:

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
Prev Question  The documentation of a class lists a meth...
Next Question You read the following statement in a Java prog...