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(); } }

2nd Oct 2023, 10:32 AM
Melita
2 Answers
+ 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.
2nd Oct 2023, 11:38 AM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 1
Thank you
24th Oct 2023, 11:48 AM
Melita