|
|
Created by Mariela Galvan Ibarra
about 5 years ago
|
|
| Question | Answer |
| _CONSEPTO JAVA__ (MGI) | Lenguaje de programacion el cual permite la creacion de programas sencillos hasta mas elaborados. |
|
+_+SALIDA EN PANTALLA+_+(MGI)
Image:
Images (binary/octet-stream)
|
System.out.println System.out.print |
| |-|-OBJETO TIPO SCANNER-|- (MGI) | Scanner libre =new Scanner |
| _--_TIPO DE DATO--_ (MGI) -----int----- | *-*-*-METODO DE LECTURA PARA ENTRAR AL TECLADO-*-*-* ----nextInt--- |
| --_TIPO DE DATO_--(MGI) ----boolean---- | *-*-*-METODO DE LECTURA PARA ENTRAR AL TECLADO-*-*-* ----nextBoolean---- |
| --_TIPO DE DATO_- -(MGI) ----byte--- | *-*-*-METODO DE LECTURA PARA ENTRAR AL TECLADO-*-*-* ----nextByte---- |
| --_TIPO DE DATO--_ (MGI) ---float--- | *-*-*-METODO DE LECTURA ENTRAR AL TECLADO-*-*-* ----nextFloat---- |
| --_TIPO DE DATO--_ (MGI) ---double-- | *-*-*-METODO DE LECTURA ENTRAR AL TECLADO-*-*-* ----nextDouble---- |
|
--_TIPO DE DATO--_ (MGI)
---string---
Image:
Ned1 (binary/octet-stream)
|
*-*-*-METODO DE LECTURA ENTRAR AL TECLADO-*-*-* ----nextLine---- |
|
--_TIPO DE DATO--_ (MGI)
---long---
Image:
Nee (binary/octet-stream)
|
*-*-*-METODO DE LECTURA ENTRAR AL TECLADO-*-*-* ----nextLong---- |
|
--_TIPO DE DATO--_ (MGI)
----short---
Image:
Ned2 (binary/octet-stream)
|
*-*-*-METODO DE LECTURA ENTRAR AL TECLADO-*-*-* ----nextShort---- |
| **+*++*+*CICLO-FOR**+*++*+*(MGI) | +{*-|-|-|--SINTAXIS--|-|-|-*}+ for(condicion de inicializacion,condicion de prueba,incremento/decremento) { declaracion(s) } |
| **+*++*+*CICLO-WHILE**+*++*+*(MGI) | +{*-|-|-|--SINTAXIS--|-|-|-*}+ while(condicion booleana) { declaracion del bucle } |
| **+*++*+*CICLO DO- WHILE**+*++*+*(MGI) | +{*-|-|-|--SINTAXIS--|-|-|-*}+ do { declaracion(s) }while(condicion booleana); |
| CLASE SCANNER- IMPORTAR{}-{}-{}-(MGI) | import java.util.Scanner ; |
|
CADENAS DE TEXTO(DEJANDO AL USUARIO QUE
INGRESE ALGO)--->(MGI)
Image:
Images (binary/octet-stream)
|
System.out.println("Ingresa tu nombre"); String nombre = Intro.nextLine(); |
| METODO PARA CERRAR UN FLUJO DE ENTRADA-SCANNER (MGI) | objetoScanner.close(); |
| IMPRIMIR EN PANTALLA LO QUE INGRESA EL USUARIO(MGI) | System.out.println("El usuario ingreso el numero " + el nombre de la variable); |
|
METODO CON ACCESO PUBLICO(MGI)
Image:
Ned4 (binary/octet-stream)
|
public void miMetodo( ){ |
| METODO CON ARGUMENTOS(MGI) | public void MenuOp(Argumento){ |
Want to create your own Flashcards for free with GoConqr? Learn more.