0
What it means?
public class StudentGrade_lab8 { public static void main(String[] args) { Student s1=new Student("Rajesh",1123,35,67,87); s1.display(); } }
2 ответов
+ 4
This is not complete code, btw
Student -> is class
s1 -> is object of the student class
I think you make constructor, so you pass the string value is 'Rajesh' and integer number then you call the 'display' method.
+ 1
Thank you