You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
436 B
27 lines
436 B
3 years ago
|
package patronFlyWeight;
|
||
|
|
||
|
public class OrdenadorConcreto extends OrdenadorFWAsusScorpion15{
|
||
|
private int ram;
|
||
|
private int discoDuro;
|
||
|
private String color;
|
||
|
|
||
|
public OrdenadorConcreto(int ram, int discoDuro, String color) {
|
||
|
this.ram=ram;
|
||
|
this.discoDuro=discoDuro;
|
||
|
this.color=color;
|
||
|
}
|
||
|
|
||
|
public String getColor() {
|
||
|
return color;
|
||
|
}
|
||
|
|
||
|
public int getRam() {
|
||
|
return ram;
|
||
|
}
|
||
|
|
||
|
public int getDiscoDuro() {
|
||
|
return discoDuro;
|
||
|
}
|
||
|
|
||
|
}
|