alicemiriel

Untitled

Apr 4th, 2018
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. package zadanie12;
  2.  
  3. import java.util.List;
  4. import java.util.Map;
  5.  
  6. public class Uczelnia {
  7.     List<Student> listaStudentow;
  8.     Map<Student, Integer> opuszczoneGodzinyStudentow;
  9.  
  10.  
  11.     public void dodajStudentaDoListy(Student student) {
  12.         if (!listaStudentow.contains(student)){
  13.             listaStudentow.add(student);
  14.         }
  15.     }
  16.  
  17.     public void opuszczoneGodziny(Integer indeksStudenta, Integer liczbaGodzin){
  18.  
  19.     }
  20.  
  21.  
  22. }
Add Comment
Please, Sign In to add comment