Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Espectador {
- int id;
- int pref;
- public Espectador(int id, int pref) {
- super();
- this.id = id;
- if (pref==0 || pref==1)
- this.pref = pref;
- else
- this.pref = 2;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement