-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCase.java
More file actions
32 lines (27 loc) · 774 Bytes
/
Case.java
File metadata and controls
32 lines (27 loc) · 774 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
public class Case {
private String model;
private String manufacturer;
private String powersupply;
private Dimenssion dimenssion;
public Case(String model, String manufacturer, String powersupply, Dimenssion dimenssion) {
this.model = model;
this.manufacturer = manufacturer;
this.powersupply = powersupply;
this.dimenssion = dimenssion;
}
public void Presspowebutton(){
System.out.println(" Power Button Pressed ");
}
public String getModel() {
return model;
}
public String getManufacturer() {
return manufacturer;
}
public String getPowersupply() {
return powersupply;
}
public Dimenssion getDimenssion() {
return dimenssion;
}
}