Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
343 B
4
Indexable
Never
public class Student
{
    /*
     * This class is complete. You do not need
     * to add anything.
     */
    private String name;
    private int grade;
    
    public Student(String name, int grade)
    {
        this.name = name;
        this.grade = grade;
    }
    
    public String getName()
    {
        return this.name;
    }
}
Leave a Comment