Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *
- * @author Ilmi
- * version 1.0.1
- */
- public class Student
- {
- // instance variables - replace the example below with your own
- private String nama = "siapapun";
- private double grade = 4;
- public String getName(){
- return nama;
- }
- public void printGrade(){
- System.out.println(grade);
- }
- }
Add Comment
Please, Sign In to add comment