|
|
Erstellt von LOPEZ ABUNDIZ LIZBETH GUADALUPE
vor mehr als 5 Jahre
|
|
<---------------->
J A V A
<------------------>
Salida en pantalla
<--------------------->
Objeto tipo Scanner
::::::::::::::::::::::::::::::::
NextInt()
::::::::::::::::::::::::::::::::
_._._._._._._._._._._._._
NextShort()
_._._._._._._._._._._._._
*****************
NextByte()
******************
°_________________°
NextLong()
.....................
NextFloat()
....................
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
NextDouble()
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
=>=>=>=>=>=>=>=>=>=>=>
NextLine()
=>=>=>=>=>=>=>=>=>=>=>
<~~~~~~~~~~~~~~~~
Bucle while
~~~~~~~~~~~~~~~>
<<<<<<<<<<<<<<<
Bucle for
>>>>>>>>>>>>>>
<----------------
Bucle do while
----------------->
°~~~~~~~~~~~~~~~~°
if
°~~~~~~~~~~~~~~~~°
_._._._._._._._._._._
if-else
_._._._._._._._._._._
^^^^^^^^^^^^^^^^^^^^^
Escalera if-else-if
^^^^^^^^^^^^^^^^^^^^^
* | * | * | * | * | * | * | * | * | * | * | * |
Operadores lógicos:
~~~~~~~~~~~~~~~~~~~
&& --> Y
|| --> O
~~~~~~~~~~~~~~~~~
* | * | * | * | * | * | * | * | * | * | * | * |
=======================
switch-case
=======================
| . | . | . | . | . | . | . | . | . | . | . | .
Método en Java
| . | . | . | . | . | . | . | . | . | . | . | .
_° _ ° _ ° _ ° _ ° _ ° _ ° _ °
Métodos con parámetros
_° _ ° _ ° _ ° _ ° _ ° _ ° _ °
Verberge bekannte Karten