-
Create a class called
Student
with:String name
int rollNumber
char grade
-
Create a method
displayDetails()
in theStudent
class that prints student information. -
In
Main.java
, create aStudent
object, assign sample data, and calldisplayDetails()
.
- Complete the TODOs in
Main.java
- Push your code. Your submission will be tested automatically.