-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCarro.java
50 lines (44 loc) · 843 Bytes
/
Carro.java
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
41
42
43
44
45
46
47
48
49
public class Carro {
private String codCarro;
private String Cmodelo;
private String fornecedor;
private String valor;
private String quant;
public Carro(){
this.codCarro = "";
this.Cmodelo="";
this.fornecedor="";
this.valor="";
this.quant="";
}
public void setCodcarro(String cod){
this.codCarro=cod;
}
public String getCodcarro(){
return codCarro;
}
public void setCmodelo(String Cmodelo){
this.Cmodelo=Cmodelo;
}
public String getCmodelo(){
return Cmodelo;
}
public void setFornecedor(String forn){
this.fornecedor=forn;
}
public String getFornecedor(){
return fornecedor;
}
public void setValor(String v){
this.valor=v;
}
public String getValor(){
return valor;
}
public void setQuantidade(String quant){
this.quant=quant;
}
public String getQuantidade(){
return quant;
}
}