-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7422 from agusrosero/develop
#00 - Java
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/java/agusrosero.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
public class agusrosero { | ||
public static void main(String[] args) { | ||
// https://www.java.com/es/ | ||
|
||
// Comentario de una linea | ||
/* | ||
* Comentario de | ||
* varias lineas | ||
*/ | ||
|
||
var miVariable = "Hola!"; | ||
final var MI_CONSTANTE = 3.14; | ||
|
||
double miDouble = 3.33; | ||
float miFlotante = 2.2f; | ||
int miEntero = 10; | ||
String miCadena = "Hola!"; | ||
boolean miBooleano = true; | ||
char miChar = 'A'; | ||
|
||
System.out.println("¡Hola, [Java]!"); | ||
} | ||
} |