forked from jomarnavarro/basicJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVariables.java
More file actions
35 lines (26 loc) · 728 Bytes
/
Variables.java
File metadata and controls
35 lines (26 loc) · 728 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
package cVariables;
public class Variables {
static String nombreArticulo;
static String descripcionArticulo;
static double precioNormal;
static double precioDescuento;
static double calificacion;
public static void main(String[] args) {
nombreArticulo = "IPAD Case";
descripcionArticulo = "Es una case para iPad, nada fancy";
precioNormal = 123.44;
precioDescuento = -1;
calificacion = 4.4;
//imprima las variables
System.out.println(nombreArticulo);
metodo1();
metodo2();
metodo3();
}
public static void metodo1() {
}
public static void metodo2() {
}
public static void metodo3() {
}
}