Guest User

Untitled

a guest
May 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. package klausuren;
  2.  
  3. public class Klausur {
  4.  
  5. private String name;
  6. private int note;
  7.  
  8. public Klausur(String name) {
  9. this.name = name;
  10. }
  11.  
  12. public String getName() {
  13. return this.name;
  14. }
  15.  
  16. public int getNote() {
  17. return this.note;
  18. }
  19.  
  20. public void setNote(int note) {
  21. this.note = note;
  22. }
  23.  
  24. }
Add Comment
Please, Sign In to add comment