-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAuto.java
More file actions
41 lines (33 loc) · 857 Bytes
/
Copy pathAuto.java
File metadata and controls
41 lines (33 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* Created by Paca on 3/21/14.
*/
public class Auto {
String patente;
String marca;
String modelo;
String color;
public Auto(String patente, String marca, String modelo, String color) {
this.patente = patente;
this.marca = marca;
this.modelo = modelo;
this.color = color;
}
public String getPatente() {
return patente;
}
public void setPatente(String patente) {
this.patente = patente;
}
public String getMarca() {
return marca;
}
public String getModelo() {
return modelo;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
}