We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7c2b7c + 332d5eb commit a520be1Copy full SHA for a520be1
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/java/Dariel800XD.java
@@ -0,0 +1,30 @@
1
+public class Dariel800XD {
2
+
3
+ public static void main(String[] args) {
4
5
+ //https://www.java.com
6
7
+ //esta es una forma de comentar en java
8
+ /*Esta es para varias lineas
9
+ de codigo*/
10
11
12
+ //Constante:
13
+ final int constante;
14
15
16
+ //Variables:
17
+ byte var = 127;
18
+ short var2 = 20000;
19
+ int var3 = 2000;
20
+ long var4 = 400000;
21
+ float var5 = 2;
22
+ double var6 = 3.14;
23
+ boolean var7 = true;
24
+ char var8 = 'D';
25
+ String var9 = "Hola";
26
27
+ System.out.println("Hola, Java");
28
29
+ }
30
+}
0 commit comments