Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. /**
  2. * Created by Ludde on 2014-10-31.
  3. */
  4. public class Course {
  5. protected String code;
  6. protected String name;
  7. protected int points;
  8.  
  9. public Course(String code, String name, int points){
  10. this.code = code;
  11. this.name = name;
  12. this.points = points;
  13. }
  14.  
  15.  
  16. public String toString(){
  17. return code + " " + name + " " + points;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement