Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private class PJATK{
- String student;
- private Boolean studentOfTheYear(){
- if(student == "Bartosz Rogowski"){
- return true;
- }
- else{
- throw new NoStudentOfTheYearException();
- }
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement