-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProdutos.java
More file actions
40 lines (27 loc) · 771 Bytes
/
Produtos.java
File metadata and controls
40 lines (27 loc) · 771 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
package lojaeletronicos;
import java.io.Serializable;
public abstract class Produtos implements Serializable {
private static final long serialVersionUID = 1L;
protected String categoria;
protected String marca;
protected String modelo;
protected int tela;
public Produtos(String marca, String modelo, int tela) {
this.marca = marca;
this.modelo = modelo;
this.tela = tela;
}
public abstract String funcionalidades();
public String getCategoria() {
return categoria;
}
public String getMarca() {
return marca;
}
public String getModelo() {
return modelo;
}
public int getTela() {
return tela;
}
}