File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/java Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ public class EspinoLeandroo {
2+
3+ /**
4+ * Este es un comentario de documentación.
5+ * Se utiliza para generar documentación automáticamente.
6+ * @param args Descripción del parámetro args.
7+ */
8+ public static void main (String [] args ) {
9+ // https://www.java.com/es/
10+ // Esto es un comentario de una línea
11+
12+ /*
13+ * Esto es un comentario
14+ * que abarca múltiples líneas.
15+ * Puedes escribir varias líneas aquí.
16+ */
17+
18+ final String ejercicio = "#00 SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO" ;
19+ String lenguaje = "java" ;
20+
21+ byte edad = 27 ;
22+ short distancia = 10000 ;
23+ int cantidad = 1000000 ;
24+ long poblacionMundial = 7800000000L ;
25+
26+ float altura = 1.8f ;
27+ double pi = 3.1415926535897 ;
28+
29+ char letra = 'A' ;
30+
31+ boolean esMayorDeEdad = true ;
32+
33+ System .out .println ("¡Hola, Java!" );
34+ }
35+ }
You can’t perform that action at this time.
0 commit comments