-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDiaNhac.java
More file actions
32 lines (27 loc) · 755 Bytes
/
DiaNhac.java
File metadata and controls
32 lines (27 loc) · 755 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
package tuan.product;
public class DiaNhac extends SanPham{
private String caSi;
private int soBaiHat;
private String dinhDang;
public DiaNhac(String ten, int id, String theLoai, int nam, double giaMua, double giaBan, int soLuong, String caSi, int soBaiHat, String dinhDang){
super.setTen(ten);
super.setId(id);
super.setTheLoai(theLoai);
super.setNam(nam);
super.setGiaMua(giaMua);
super.setGiaBan(giaBan);
super.setSoLuong(soLuong);
this.caSi = caSi;
this.soBaiHat = soBaiHat;
this.dinhDang = dinhDang;
}
public String getCaSi(){
return this.caSi;
}
public int getSoBaiHat(){
return this.soBaiHat;
}
public String getDinhDang(){
return this.dinhDang;
}
}