Attachment 'PrenotazionePosto.java'
Download 1 public class PrenotazionePosto {
2
3 private String cognome;
4 private int posto;
5
6 public PrenotazionePosto(String c, int p)
7 {
8 cognome=c;
9 posto=p;
10 }
11
12 public String getCognome() {
13 return cognome;
14 }
15 public void setCognome(String cognome) {
16 this.cognome = cognome;
17 }
18 public int getPosto() {
19 return posto;
20 }
21 public void setPosto(int posto) {
22 this.posto = posto;
23 }
24
25
26
27 }
Attached Files
You are not allowed to attach a file to this page.