Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by Ludde on 2014-10-31.
- */
- public class Course {
- protected String code;
- protected String name;
- protected int points;
- public Course(String code, String name, int points){
- this.code = code;
- this.name = name;
- this.points = points;
- }
- public String toString(){
- return code + " " + name + " " + points;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement