-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPcComponentes.java
More file actions
36 lines (31 loc) · 971 Bytes
/
Copy pathPcComponentes.java
File metadata and controls
36 lines (31 loc) · 971 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
package consultarComponentesPC;
public class PcComponentes {
private String motherBoard = "MotherBoard: ";
private String fuente = "Fuente de Alimentación: ";
private String cpu = "CPU (Procesador): ";
private String memoria = "Memoria: ";
private String gpu = "GPU: Tarjeta grafica: ";
private String discoDuro = "Disco Duro: ";
private String so = "Sistema Operativo: ";
public String getMotherBoard() {
return motherBoard + "H2301";
}
public String getFuente() {
return fuente + "Cooler master";
}
public String getCpu() {
return cpu + "I5 10400f";
}
public String getMemoria() {
return memoria + "16gb koningston";
}
public String getGpu() {
return gpu + "RTX 4090";
}
public String getDiscoDuro() {
return discoDuro + "koning";
}
public String getSo() {
return so + "Windows 11";
}
}