forked from ramram43210/Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLedTV.java
More file actions
51 lines (42 loc) · 812 Bytes
/
Copy pathLedTV.java
File metadata and controls
51 lines (42 loc) · 812 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
41
42
43
44
45
46
47
48
49
50
51
public class LedTV
{
private String size;
private String price;
private boolean usbSupport;
public LedTV( String size, String price, boolean usbSupport )
{
super();
this.size = size;
this.price = price;
this.usbSupport = usbSupport;
}
public String getSize()
{
return size;
}
public void setSize( String size )
{
this.size = size;
}
public String getPrice()
{
return price;
}
public void setPrice( String price )
{
this.price = price;
}
public boolean isUsbSupport()
{
return usbSupport;
}
public void setUsbSupport( boolean usbSupport )
{
this.usbSupport = usbSupport;
}
@Override
public String toString()
{
return "LedTV [size=" + size + ", price=" + price + ", usbSupport=" + usbSupport + "]";
}
}