<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5274365667849491936</atom:id><lastBuildDate>Fri, 01 Nov 2024 08:29:18 +0000</lastBuildDate><category>Principiante</category><category>Internet</category><category>Java</category><category>Servidores web</category><category>Apache</category><category>Mac OS X</category><category>Tomcat</category><category>C</category><category>Windows</category><category>Android</category><category>BBDD</category><category>Concurso</category><category>Ensamblador</category><category>GlassFish</category><category>Linux</category><category>Oracle</category><category>PHP</category><category>Twitter</category><category>do while</category><category>if</category><category>while</category><category>whitch</category><title>Mientras Programo</title><description>Tutoriales de programación y nuevas tecnologías</description><link>http://mientrasprogramo.blogspot.com/</link><managingEditor>noreply@blogger.com (ADA)</managingEditor><generator>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-8088819288471302902</guid><pubDate>Sun, 14 Apr 2013 15:54:00 +0000</pubDate><atom:updated>2013-04-14T17:59:18.027+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Internet</category><category domain="http://www.blogger.com/atom/ns#">PHP</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><title>Introducción a PHP</title><description>&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;INTRODUCCIÓN&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Etiquetas&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
El código php se escribe dentro de la
página web, junto con el html. Se distingue de este último porque el
código php va entre unas etiquetas especificas:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;&lt;b&gt;&amp;lt;?&lt;/b&gt; codigo php &lt;b&gt;?&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;&lt;b&gt;&amp;lt;?php&lt;/b&gt; codigo php &lt;b&gt;?&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;&lt;b&gt;&amp;lt;script languaje=”php”&amp;gt;&lt;/b&gt;
codigo php &lt;b&gt;&amp;lt;/script&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Instrucciones&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Las instrucciones php terminan en punto
y coma ( ; ):&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;echo “hola mundo”;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
En la ultima instrucción no es
obligatorio:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;&amp;lt;?&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt; echo “esta instrucción es la
primera”;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt; echo “esta es la segunda”;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt; echo “esta es la ultima”&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;?&amp;gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;font-weight: bold;&quot;&gt;NOTA:&lt;/b&gt; &lt;i&gt;echo&lt;/i&gt; sirve para
imprimir por pantalla&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Comentarios&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Comentarios de una linea:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
//comentario&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
#comentario&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Comentarios de varias lineas:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
/*comentario*/&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;VARIABLES Y TIPOS DE DATOS&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Variables&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Se definen poniendo el símbolo dólar
($) delante del nombre de la misma:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
$nombreVariable&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Tipos&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
No es necesario declararlas, el tipo
depende del contenido de la variable:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;
 &lt;colgroup&gt;&lt;col width=&quot;85*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;85*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;85*&quot;&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td rowspan=&quot;2&quot; width=&quot;33%&quot;&gt;&lt;b&gt;Numéricas&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Entero&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;$numero=5;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Real&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;$numeroReal=5.4;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Alfanuméricas&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Cadena&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;$cadena=”Hola mundo”;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Tablas&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Array&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;$diasSem[0]=”Lunes”;&lt;br /&gt;
$diasSem[1]=”Martes”;&lt;br /&gt;
$diasSem[2]=”Miercoles”;&lt;br /&gt;
...&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Objetos&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;b&gt;Instancias de clases&lt;/b&gt;&lt;/td&gt;
  &lt;td width=&quot;33%&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Ej:&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKWcJsNTZrBRTWu9CjLuRfLnus_X8GsOvbNqqKX_RfS7r8KrFweqPC5X3-Q5rGhuvrvbGLeEFz8IoQ4VXwoluMGPT10txQAd4fBvNeIdNNtDW3Hh1imGasboc6_1Y_s40kiFyK_fPUo9cm/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKWcJsNTZrBRTWu9CjLuRfLnus_X8GsOvbNqqKX_RfS7r8KrFweqPC5X3-Q5rGhuvrvbGLeEFz8IoQ4VXwoluMGPT10txQAd4fBvNeIdNNtDW3Hh1imGasboc6_1Y_s40kiFyK_fPUo9cm/s400/5.png&quot; width=&quot;275&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;NOTA:&lt;/b&gt; Dentro de las etiquetas de php se puede incluir código html entre comillas y utilizando echo.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
La etiqueta &amp;lt;br/&amp;gt; es el saldo de linea en html.&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Cambios de tipo&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Las variables se pueden cambiar de tipo
siempre que se quiera.&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul style=&quot;font-weight: bold;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Cambiando el tipo manualmente:&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;$numero=4;&lt;/i&gt; //es un entero&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;$numero=”hola
mundo”&lt;/i&gt; //deja de ser entero y pasa a ser cadena&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;NOTA:&lt;/b&gt; Hay que tener cuidado al
cambiar de cadena a vector ya que en realidad lo que se hace es
modificar los caracteres de la cadena, no transformarla en un vector:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiHWZB-8QW7-x4X6qxkBxb94q3ePVkHRuIcIHzMztEufRXKdMpWeYmuWEQgAqWw73-aQLrtH-OqFrp3NXRgSW7ohF0dDzOnkr9EVJoZo6gATfz1B2W-jWrh0eD7AoLIUrrjmGsDrxwnY3M/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiHWZB-8QW7-x4X6qxkBxb94q3ePVkHRuIcIHzMztEufRXKdMpWeYmuWEQgAqWw73-aQLrtH-OqFrp3NXRgSW7ohF0dDzOnkr9EVJoZo6gATfz1B2W-jWrh0eD7AoLIUrrjmGsDrxwnY3M/s1600/6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Supongamos que esta es la cadena:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;nbsp; 0 &amp;nbsp; 1 &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp;3 &amp;nbsp; 4 &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp;6 &amp;nbsp; 7 &amp;nbsp; 8 &amp;nbsp; &amp;nbsp;9 
&lt;/div&gt;
&lt;table border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;
 &lt;colgroup&gt;&lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;26*&quot;&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;10%&quot;&gt;h&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;o&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;l&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;a&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;m&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;u&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;n&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;d&lt;/td&gt;
  &lt;td width=&quot;10%&quot;&gt;o&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;
Al escribir $cadena[0]=”p” se
reemplaza la h por la p ya que es la letra que ocupa la posición &lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;0.
&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;La
cadena resultante sería &quot;pola mundo&quot;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul style=&quot;font-weight: bold;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Usando la función setType:&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;La sintaxis es: setType(variable,
“nuevoTipo”)&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
El nuevo tipo puede ser:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
integer: entero&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
double: real 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
string: cadena 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
array: array&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
object: objeto&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Ej:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjiNTWGLrP5GhYNa0HI3cZOkdMfyNNsVawrNNQ-7iFPVQvEeJFHfNvkoqy9ORsuFdUBefmRNLvvVJCflummZ8jMr_Ibskx8vOIsXopO4Gb5fEOfcDvPrYLSs3OZGSaCKecYjzHruGryYHR/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjiNTWGLrP5GhYNa0HI3cZOkdMfyNNsVawrNNQ-7iFPVQvEeJFHfNvkoqy9ORsuFdUBefmRNLvvVJCflummZ8jMr_Ibskx8vOIsXopO4Gb5fEOfcDvPrYLSs3OZGSaCKecYjzHruGryYHR/s1600/7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
La variable inicialmente es una cadena
y posteriormente se fuerza su cambio a entero&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul style=&quot;font-weight: bold;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Haciendo un cast:&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Un cast es un cambio de tipo
especificado a través de unos parentesis. Igual que se hace en C o
en otros lenguajes:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;variable2 = (nuevo tipo) variable;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Los cast permitidos son:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
(int), (integer) : entero&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
(real), (double), (float): real&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
(string): cadena&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
(array): array&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
(object): objeto&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Ej:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYqjlyfKuSJTZO-jDlu9DWt2GYBSMbDMc2tJUZiyzl6a9Dd0ooA1IJ42Rg6ZtGwEXDNIw4v9sA4HhmCeunBr4iZ4SHmLaKS5EYEcWwYdv_m_IkgxZ-SIvHX1290sF9bxF3Nezy_nsJus8/s1600/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYqjlyfKuSJTZO-jDlu9DWt2GYBSMbDMc2tJUZiyzl6a9Dd0ooA1IJ42Rg6ZtGwEXDNIw4v9sA4HhmCeunBr4iZ4SHmLaKS5EYEcWwYdv_m_IkgxZ-SIvHX1290sF9bxF3Nezy_nsJus8/s1600/8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Al hacer el cast la segunda variable
guarda el 5 como una cadena “5”&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: 800;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;OPERADORES&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Aritméticos&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Sirven para realizar operaciones aritméticas.&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;font-weight: bold; width: 100%px;&quot;&gt;
 &lt;colgroup&gt;&lt;col width=&quot;128*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;128*&quot;&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;Operador&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;Operación&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;+&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Suma&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;-&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Resta&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;*&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Producto&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;/&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;División&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;%&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Resto de la división&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;++&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Incremento&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;–&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Decremento&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Ej:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Suma:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXDlR4V5q2zdqBqna7X5378Me-ZegzF0_wvqeBfNNRPxr6PmbyNajFp31-vu2e11FgdgDZoPAxDs1JCehNhkkXUpsGrHnfvMZp3FCjuDIGzWTapKrNMdmSS3i1N5umAohVTwmxakVqprv9/s1600/suma.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXDlR4V5q2zdqBqna7X5378Me-ZegzF0_wvqeBfNNRPxr6PmbyNajFp31-vu2e11FgdgDZoPAxDs1JCehNhkkXUpsGrHnfvMZp3FCjuDIGzWTapKrNMdmSS3i1N5umAohVTwmxakVqprv9/s1600/suma.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Resultado:&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;5 + 3 = 8&lt;/i&gt;&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Resta:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTyfKCdpc5et7NL-uZ4mhnkb7IaJeFSCCLm3LFoIbJAw-IwvAbhqmAM6DE6FG4Vx6KPe1EuqTC06XR7g1D195vCI7vktEqauizhyGlTDrzq67KmZXu6EGf4vYynL_MrxCr9CZ6vmLooXFg/s1600/resta.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTyfKCdpc5et7NL-uZ4mhnkb7IaJeFSCCLm3LFoIbJAw-IwvAbhqmAM6DE6FG4Vx6KPe1EuqTC06XR7g1D195vCI7vktEqauizhyGlTDrzq67KmZXu6EGf4vYynL_MrxCr9CZ6vmLooXFg/s1600/resta.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Resultado:&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;5 - 3 = 2&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Producto:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKnpKjrPNjJf25Q7-tyWgW7TO35MnEGXl-g8iJOfxL4tp7Uzmnw_wVlBvEaj5HjjNGBNgi7T83aASa9CaANK0ttzloYvUMIxm2mcWZ2t0GYrWu4VlTH1IzQZtExliztdcO0dOfD0urbqxP/s1600/producto.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKnpKjrPNjJf25Q7-tyWgW7TO35MnEGXl-g8iJOfxL4tp7Uzmnw_wVlBvEaj5HjjNGBNgi7T83aASa9CaANK0ttzloYvUMIxm2mcWZ2t0GYrWu4VlTH1IzQZtExliztdcO0dOfD0urbqxP/s1600/producto.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Resultado:&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;5 * 3 = 15&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;División entera y resto:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO2S0uXfzKQOZdzVwjahktt1w7s_Ycza8kg4-8o44WoqlIQCoUynsUXbkSQngsf1RFp3qkRX8c4dKp1fGhGKk9CU4FSZvKQggbv5YlyaMQyxghrYG2pBOrNGYxzV4WPQ5A9ElUmsnA9DVQ/s1600/divisio%CC%81nEntera.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO2S0uXfzKQOZdzVwjahktt1w7s_Ycza8kg4-8o44WoqlIQCoUynsUXbkSQngsf1RFp3qkRX8c4dKp1fGhGKk9CU4FSZvKQggbv5YlyaMQyxghrYG2pBOrNGYxzV4WPQ5A9ElUmsnA9DVQ/s1600/divisio%CC%81nEntera.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Resultado:
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;5 / 3 = 1&lt;/i&gt;&lt;i&gt;Resto:&lt;/i&gt;&lt;i&gt;5 % 3 = 2&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;División real:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP_Z76NTxIl7OXejADeYZqeKbOVGAy4KrkQ6MvtGIEuHmY99qvB_Z_ZkY8pgstfS6lsYQKcB-kZfNBays8e0J9NNhJzwDr0PrXiD1WQDMZLmQ0y5eGY8xJFNAW7Z-yoWHYTeupb_rREO4_/s1600/divisio%CC%81nReal.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP_Z76NTxIl7OXejADeYZqeKbOVGAy4KrkQ6MvtGIEuHmY99qvB_Z_ZkY8pgstfS6lsYQKcB-kZfNBays8e0J9NNhJzwDr0PrXiD1WQDMZLmQ0y5eGY8xJFNAW7Z-yoWHYTeupb_rREO4_/s1600/divisio%CC%81nReal.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Resultado:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
5 / 3 = 1.6666666666667&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Incremento:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh363r_aqHZa7OMyrHptzRRUrutYhmByS5pGaqhGbkilzbdXUBigj7mXaKwqUaqV-0QsabuesS-CqCM84dGHkeMLAvH6ChCprSaNehJMoV0W3I8g2SywsLBu1Wav5AsAgLa_PcXwy1xJd56/s1600/incremento.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh363r_aqHZa7OMyrHptzRRUrutYhmByS5pGaqhGbkilzbdXUBigj7mXaKwqUaqV-0QsabuesS-CqCM84dGHkeMLAvH6ChCprSaNehJMoV0W3I8g2SywsLBu1Wav5AsAgLa_PcXwy1xJd56/s1600/incremento.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Resultado: Se incrementa en una unidad el valor de la variable tanto usando el operador como prefijo (delante de la variable) como usándolo como postfijo (detrás de la variable).&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Decremento:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbLO4KaNDZxilgOpf9JbbklFpHDTHVtUG6mKxyPLoRFdO793pwJ7eD1xhKiLnt5xPIUrYLLdEtFhrMVbPoeVOVT51GCoGgS1FsRwVdwNISCndFVe043tevLXT5fOEwtZ5TPPFnrrsnvT27/s1600/decremento.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbLO4KaNDZxilgOpf9JbbklFpHDTHVtUG6mKxyPLoRFdO793pwJ7eD1xhKiLnt5xPIUrYLLdEtFhrMVbPoeVOVT51GCoGgS1FsRwVdwNISCndFVe043tevLXT5fOEwtZ5TPPFnrrsnvT27/s1600/decremento.png&quot; style=&quot;cursor: move;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Resultado: Decrementa en una unidad.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;De
comparación&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Devuelven verdadero si se cumple la condición y falso si no se cumple.&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;font-weight: bold; width: 100%px;&quot;&gt;
 &lt;colgroup&gt;&lt;col width=&quot;128*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;128*&quot;&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;Operador&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;Operación&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;==&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Comparación&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;!=&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Desigualdad&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Mayor que&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Mayor o igual&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Menor que&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Menor o igual&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Lógicos&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Permiten unir condiciones lógicas (que devuelven verdadero o falso).&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;font-weight: bold; width: 100%px;&quot;&gt;
 &lt;colgroup&gt;&lt;col width=&quot;128*&quot;&gt;&lt;/col&gt;
 &lt;col width=&quot;128*&quot;&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;Operador&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;Operación&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;and&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;And lógico&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;or&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Or lógico&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;!&lt;/span&gt;&lt;/td&gt;
  &lt;td width=&quot;50%&quot;&gt;&lt;div style=&quot;text-decoration: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Negación&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;b&gt;Concatenación
(.)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Sirve para concatenar cadenas.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
Ej:&amp;nbsp;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmB-Y0DDSNdEYOj_wV-r6xWJQ4ZYLpbc6SD7Z70J0tkNLiNpAIcV3gvM2bkqjanD5IyjgQeBQ2zEPhTbLaqtbQodco1kg7iPNf_PHadst6OmToCOUdREFCWuicd2qVRZVEu-FIf5HVvvUP/s1600/concatenacion.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmB-Y0DDSNdEYOj_wV-r6xWJQ4ZYLpbc6SD7Z70J0tkNLiNpAIcV3gvM2bkqjanD5IyjgQeBQ2zEPhTbLaqtbQodco1kg7iPNf_PHadst6OmToCOUdREFCWuicd2qVRZVEu-FIf5HVvvUP/s1600/concatenacion.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Operador de asignación (=)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Sirve para asignar valores a variables.
No debe confundirse con el operador de comparación (==).&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;i&gt;$variable=valor;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Se puede usar combinado con los
operadores aritméticos y con el operador de concatenación.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Ej:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
Suma:&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecJJdfGasfbcgPGizVlRwS7OR_YUeclOQxMIWhzOMPNVJY4zQEY8GTFptvXzWvbbcbC4-1ny_7EIQuJlRcBc36mBVgcfaN1Gwogmr6rywx5JysZQclMyjXHrWB3ekQhpVU11CNg2oKIUL/s1600/suma.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecJJdfGasfbcgPGizVlRwS7OR_YUeclOQxMIWhzOMPNVJY4zQEY8GTFptvXzWvbbcbC4-1ny_7EIQuJlRcBc36mBVgcfaN1Gwogmr6rywx5JysZQclMyjXHrWB3ekQhpVU11CNg2oKIUL/s1600/suma.png&quot; style=&quot;cursor: move;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Equivalente a : $numero1 = $numero1 + 3;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Resultado: 8&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
Resta:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu_EiAykEJxgv-PPAJZ_x2KqZ0p8KiM5atDPn2x6lUFyVfXfM6AxAjoq_30ogSg4Ym8PmHsDgwc4DzNdAV4_AXLWkExrVK-frnSFxp7LYDhwHNDCP1ap6Ij8hcugmfEEfhR9s5jnJ3B0_s/s1600/resta.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu_EiAykEJxgv-PPAJZ_x2KqZ0p8KiM5atDPn2x6lUFyVfXfM6AxAjoq_30ogSg4Ym8PmHsDgwc4DzNdAV4_AXLWkExrVK-frnSFxp7LYDhwHNDCP1ap6Ij8hcugmfEEfhR9s5jnJ3B0_s/s1600/resta.png&quot; style=&quot;cursor: move;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Equivalente a: $numero1 = $numero1 - 3;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Resultado: 2&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
Producto:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrCaZ3xL5WsKsLJZh-EjVBTC8ACHwLbDTlXFXdaKt2ZvgTN4Cvep7uM4_Ad0G2xeUuMuLCdIN1EeS6MnAv9tQmDXGNH2-1ossR7VatNh6yp9fFE7Hnn39m8ct4QiOew6A5n_nqbxH3qaR1/s1600/producto.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrCaZ3xL5WsKsLJZh-EjVBTC8ACHwLbDTlXFXdaKt2ZvgTN4Cvep7uM4_Ad0G2xeUuMuLCdIN1EeS6MnAv9tQmDXGNH2-1ossR7VatNh6yp9fFE7Hnn39m8ct4QiOew6A5n_nqbxH3qaR1/s1600/producto.png&quot; style=&quot;cursor: move;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Equivalente a: $numero1 = $numero1 * 3;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Resultado = 15&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
División:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQzgZXntpgYsm32ZEa9kYdT0ndJbNeV8pqW9R6ieOOsM3jN8rRqHlBkLHls_w1plXVdMb-73PC0U865yTszmwKSk5fEpb3PqaNjvjNyh1_7oH6gTijgpmr8bpPuI2EaVDur4Wl6IsaPYx4/s1600/divisio%CC%81n.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQzgZXntpgYsm32ZEa9kYdT0ndJbNeV8pqW9R6ieOOsM3jN8rRqHlBkLHls_w1plXVdMb-73PC0U865yTszmwKSk5fEpb3PqaNjvjNyh1_7oH6gTijgpmr8bpPuI2EaVDur4Wl6IsaPYx4/s1600/divisio%CC%81n.png&quot; style=&quot;cursor: move;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Equivalente a: $numero1 = $numero1 / 3;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Resultado:&amp;nbsp;1.6666666666667&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
Resto:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSVIDwyMhD9CyJQkpvT8_l1XMv-4tswpIk4XMcsiaCiT3BhEQrURBx6TFt0U5HxNbhurSFcxv-WMT4DIgJdZjYPhZ1ZuLFsCEvA_dDOg1xx94QM5jxPEGs7DimJqlO_Y-3jDQISMgTgbe9/s1600/modulo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSVIDwyMhD9CyJQkpvT8_l1XMv-4tswpIk4XMcsiaCiT3BhEQrURBx6TFt0U5HxNbhurSFcxv-WMT4DIgJdZjYPhZ1ZuLFsCEvA_dDOg1xx94QM5jxPEGs7DimJqlO_Y-3jDQISMgTgbe9/s1600/modulo.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Equivalente a: &lt;i&gt;$numero = &amp;nbsp;$numero % 3;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Resultado: &lt;i&gt;2&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
Concatenación:&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmKCHGEbJfhGHxY2R5_OumanSmrstaWDqsB0LqayZ99YvuD21Jp0pqqJn7YyYd39gyRVsHHBOG1x_cQ4sRTKKuqm4uIDd_YT5stEfzqVKCDlG4w-VdgxMElXKCf-NZLGfIMyWux1IOfUvU/s1600/cadena.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmKCHGEbJfhGHxY2R5_OumanSmrstaWDqsB0LqayZ99YvuD21Jp0pqqJn7YyYd39gyRVsHHBOG1x_cQ4sRTKKuqm4uIDd_YT5stEfzqVKCDlG4w-VdgxMElXKCf-NZLGfIMyWux1IOfUvU/s1600/cadena.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Equivalente a: &lt;i&gt;$cadena = $cadena . &quot;Mundo&quot;;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Resultado: &lt;i&gt;Hola Mundo&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</description><link>http://mientrasprogramo.blogspot.com/2013/04/introduccion-php.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKWcJsNTZrBRTWu9CjLuRfLnus_X8GsOvbNqqKX_RfS7r8KrFweqPC5X3-Q5rGhuvrvbGLeEFz8IoQ4VXwoluMGPT10txQAd4fBvNeIdNNtDW3Hh1imGasboc6_1Y_s40kiFyK_fPUo9cm/s72-c/5.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-5028526281426856863</guid><pubDate>Wed, 10 Apr 2013 18:45:00 +0000</pubDate><atom:updated>2013-04-10T20:46:37.384+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><title>Curso on-line Java 2 SE</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXtwHTel6y7KZqYNZFBqfkkDIluU7MZIqigV3trjB-sUF_qL0CxW4bEtB8BlmHh8_osfDSYAG8NuoqkQX1vVYe2KZ4wl7RfQv2qYQfWom2Ln4WKQii_y9VDIsX1YyTMDyYzoxF5OnswQcF/s1600/javaOnline.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXtwHTel6y7KZqYNZFBqfkkDIluU7MZIqigV3trjB-sUF_qL0CxW4bEtB8BlmHh8_osfDSYAG8NuoqkQX1vVYe2KZ4wl7RfQv2qYQfWom2Ln4WKQii_y9VDIsX1YyTMDyYzoxF5OnswQcF/s640/javaOnline.jpg&quot; width=&quot;451&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</description><link>http://mientrasprogramo.blogspot.com/2013/04/curso-on-line-java-2-se.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXtwHTel6y7KZqYNZFBqfkkDIluU7MZIqigV3trjB-sUF_qL0CxW4bEtB8BlmHh8_osfDSYAG8NuoqkQX1vVYe2KZ4wl7RfQv2qYQfWom2Ln4WKQii_y9VDIsX1YyTMDyYzoxF5OnswQcF/s72-c/javaOnline.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-2747414534804139792</guid><pubDate>Sun, 07 Apr 2013 17:41:00 +0000</pubDate><atom:updated>2013-04-07T19:41:23.335+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><category domain="http://www.blogger.com/atom/ns#">Concurso</category><category domain="http://www.blogger.com/atom/ns#">Twitter</category><title>¡¡CONCURSO MINI PC ANDROID!!</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkLKVV4TVZ9WwcFmjE06TiILifB_N2nN7b7eVdwYQKYoIm9ttFwtWBRwUt3v14fO2GYTws-S2SQWrANZJF3t_vCaGtqqaJDzakUZBP8rp-7W5S1Yr25XVjmaTPRa_dBxaD13IRnwtTtnzw/s1600/leotec_android_tv_4_0_4gb_usb.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkLKVV4TVZ9WwcFmjE06TiILifB_N2nN7b7eVdwYQKYoIm9ttFwtWBRwUt3v14fO2GYTws-S2SQWrANZJF3t_vCaGtqqaJDzakUZBP8rp-7W5S1Yr25XVjmaTPRa_dBxaD13IRnwtTtnzw/s320/leotec_android_tv_4_0_4gb_usb.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Leotec Android TV 4.0 4GB USB&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Convierte tu televisor en un completo sistema multimedia con este dispositivo: vídeos, imágenes, aplicaciones Android y juegos de Google Play, etc.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Especificaciones:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Memoria RAM 1GB DDR3.&lt;/div&gt;
&lt;div&gt;
Almacenamiento interno 4G.&lt;/div&gt;
&lt;div&gt;
Conectividad WI-FI 802.11 b/g/n a Internet.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Conexiones:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Mini USB 2.0 para conectarlo con el ordenador y poder intercambiar archivos.&lt;br /&gt;USB 2.0 para conectar teclado, ratón, dispositivos de almacenamiento externo, etc.&lt;br /&gt;Conexión HDMI Full HD 1080p.&lt;br /&gt;Slot micro SD&lt;/blockquote&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;¡¿Quieres uno?!&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Pues es muy fácil. Para poder participar en el sorteo solo tienes que seguirme aquí en el blog y en &lt;a href=&quot;https://twitter.com/TutProgramacion&quot; target=&quot;_blank&quot;&gt;twitter&lt;/a&gt;&amp;nbsp;y retwittear el twit del concurso. ¿Ya lo has hecho? ¡Pues atent@! El día menos pensado, en el momento menos pensado publicaré un twit en el que pondrá &quot;¡¿Quién quiere un mini PC Android?!&quot;. La primera persona (que me siga y me haya retwitteado) que responda a ese twit se lo lleva. ¡Así de fácil!&lt;/div&gt;
</description><link>http://mientrasprogramo.blogspot.com/2013/04/concurso-mini-pc-android.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkLKVV4TVZ9WwcFmjE06TiILifB_N2nN7b7eVdwYQKYoIm9ttFwtWBRwUt3v14fO2GYTws-S2SQWrANZJF3t_vCaGtqqaJDzakUZBP8rp-7W5S1Yr25XVjmaTPRa_dBxaD13IRnwtTtnzw/s72-c/leotec_android_tv_4_0_4gb_usb.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-2465962254217823992</guid><pubDate>Wed, 03 Apr 2013 18:35:00 +0000</pubDate><atom:updated>2013-04-03T20:36:51.302+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">do while</category><category domain="http://www.blogger.com/atom/ns#">if</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><category domain="http://www.blogger.com/atom/ns#">while</category><category domain="http://www.blogger.com/atom/ns#">whitch</category><title>Control de flujo en Java</title><description>&lt;br /&gt;
Las sentencias de control de flujo son las encargadas de “guiar”
al programa a lo largo de la ejecución permitiendo mostrar
información, ocultarla o repetir instrucciones un número concreto
de veces. Sin este tipo de instrucciones el programa sería
totalmente lineal, complejo y muy limitado.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SENTENCIAS CONDICIONALES&lt;/b&gt;&lt;br /&gt;
Estas sentencias permiten evaluar condiciones lógicas o valores
de variables y ejecutar o ignorar ciertas instrucciones dependiendo
del valor que tomen dichas condiciones.&lt;br /&gt;
Son dos: if y switch.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;IF&lt;/b&gt;&lt;br /&gt;
Evalúa una condición lógica y ejecuta un bloque de código si
esta es cierta.&lt;br /&gt;
La sintaxis de esta sentencia es la siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;//el código que está aquí se ejecuta siempre&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;if (condición) {&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; //bloque de instrucciones que se ejecutarán solo si la
condición es cierta&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;//el código que está aquí se ejecuta siempre&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
La &lt;b&gt;condición&lt;/b&gt; puede ser cualquier condición lógica.&lt;br /&gt;
El código encerrado entre llaves ({}) se ejecuta solo si se
cumple la condición. Todo el código que se encuentra fuera de las
llaves se ejecuta siempre ya que no depende de la condición.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ej:&lt;/b&gt; Supongamos que vamos a una fiesta. En la entrada del
bar hay un cartel en el que pone “solo mayores de 18”&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipGBes8448KYbVjUZsq9qTPltBcjDmmOiA7omoNbIrAF26oWSfRHV44JPkISPSstP7IMDcPwc5ujS58Xy0-6rV91ByRtq4MhKdc2St5yyvi-4vS53iMjPcKnctdpy90I7g2YhI2efe3J2f/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipGBes8448KYbVjUZsq9qTPltBcjDmmOiA7omoNbIrAF26oWSfRHV44JPkISPSstP7IMDcPwc5ujS58Xy0-6rV91ByRtq4MhKdc2St5yyvi-4vS53iMjPcKnctdpy90I7g2YhI2efe3J2f/s640/1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
El programa nos preguntara nuestra edad, si somos mayores de edad la condición del if es cierta por lo que podremos entrar, disfrutaremos de la
fiesta y al final nos iremos para casa:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmnI1yeW3WIGCcPOKgOzABeKmPjpq2aaS2oufktRtaj2TiO3xCavWaxFUXqtPKzgdyeVnbXk208jeYVKe-32ZDOMqlEWAMKS787pjIjUhvOmJiqzsZ44i9SuGUh-xhdHUvXV3Fd3JBDjIK/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmnI1yeW3WIGCcPOKgOzABeKmPjpq2aaS2oufktRtaj2TiO3xCavWaxFUXqtPKzgdyeVnbXk208jeYVKe-32ZDOMqlEWAMKS787pjIjUhvOmJiqzsZ44i9SuGUh-xhdHUvXV3Fd3JBDjIK/s400/2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Si somos menores (y respetamos las normas) no se cumplirá el if por lo que se saltará todo el código entre llaves y no podremos entrar, así
que nos tendremos que marchar directamente:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD_zzbVt8ABg9lCKBUI9CH8kxJmxTPMi6Q-mDpIpl2YH5plLOdbgxvQJSjrBLuFUhzH5IKEmZlAp_eZVyEgdw1ykJSIwC_v8cfY_J8bqyUDLmtV8rYUst5GRFTHGkjGjgHx6IHgo8NPGrS/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;96&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD_zzbVt8ABg9lCKBUI9CH8kxJmxTPMi6Q-mDpIpl2YH5plLOdbgxvQJSjrBLuFUhzH5IKEmZlAp_eZVyEgdw1ykJSIwC_v8cfY_J8bqyUDLmtV8rYUst5GRFTHGkjGjgHx6IHgo8NPGrS/s400/3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Las instrucciones de preguntar la edad y de irnos a casa no
dependen de que seamos mayores de edad puesto que en ambos casos se
llevan a cabo, la condición solo nos impedirá disfrutar de la
fiesta.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;IF … ELSE&lt;/b&gt;&lt;br /&gt;
Hay casos en los que puede interesarnos ejecutar un código solo
si se cumple y otro solo si no se cumple. Esto se puede conseguir
utilizando la sentencia else:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;if (condición){&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; //código que se ejecuta solo si se cumple&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt;}else{&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; //codigo que se ejecuta solo si no se cumple&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Al igual que antes todo lo que esté fuera de las llaves se
ejecuta siempre.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ej: &lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Imaginemos que vamos
a la misma fiesta pero, ahora hay un portero en la entrada que nos
pregunta nuestra edad:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNKVTliT0PhyppJd7FHtPHtyC9TgFPKm_wS5WMFOLZHF-6Gu0_2QrWF87dqZK2qrAwQ7cpE1CNN_Z-a3y4C7aTQcHv-PO2okVTEwxGe4l1J-Lj0eUZOQVhenNXRzrbM5UpL1yxqwdSrB04/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNKVTliT0PhyppJd7FHtPHtyC9TgFPKm_wS5WMFOLZHF-6Gu0_2QrWF87dqZK2qrAwQ7cpE1CNN_Z-a3y4C7aTQcHv-PO2okVTEwxGe4l1J-Lj0eUZOQVhenNXRzrbM5UpL1yxqwdSrB04/s640/4.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Si la edad introducida por el usuario es igual o superior a 18, igual que antes, se
cumple la condición y podremos ir a la fiesta:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEJ4gagtNQPXIqtZu-XgRdr2gHWOto_LB76Em2p3I9P4JNMaNymDY760vZva5VmqVtvqqs16b4YgmY3d7AIy2FrhuKqeqLK2KS9cbwSB43UY1LXTaYldIu2QVvLpYvlMHXvV5mhWqogmiD/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;126&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEJ4gagtNQPXIqtZu-XgRdr2gHWOto_LB76Em2p3I9P4JNMaNymDY760vZva5VmqVtvqqs16b4YgmY3d7AIy2FrhuKqeqLK2KS9cbwSB43UY1LXTaYldIu2QVvLpYvlMHXvV5mhWqogmiD/s400/5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Si no es cierto, porque la edad es menor, no podremos entrar y se ejecutarán las instrucciones dentro de las llaves del else, el
portero nos dirá que nos marchemos a nuestra casa:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixfdK9sK7y7xq8zmy5jhbmD2-hs47MWikqk2gIDz1KsBh4igWccvnFDITaowglY0IKqVRJX3XPeiA_gkK9XJ2RIXe4soHJ9Df8THNvDBLHhyphenhyphenbfyB7mjqfAxzkCsOSL7Km1bs22gU_cmzYG/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixfdK9sK7y7xq8zmy5jhbmD2-hs47MWikqk2gIDz1KsBh4igWccvnFDITaowglY0IKqVRJX3XPeiA_gkK9XJ2RIXe4soHJ9Df8THNvDBLHhyphenhyphenbfyB7mjqfAxzkCsOSL7Km1bs22gU_cmzYG/s400/6.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;SWITCH&lt;/b&gt;&lt;br /&gt;
La sentencia switch evalúa una variable. Dependiendo del valor
que tenga ejecutará un código u otro. 
&lt;br /&gt;
La sintaxis de la sentencia switch es la siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;switch (variable){&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; case valor1: //código para el valor1&lt;/i&gt;&lt;i&gt;  break;&lt;/i&gt;&lt;i&gt; case valor2: //código para el valor2&lt;/i&gt;&lt;i&gt;  break;&lt;/i&gt;&lt;i&gt; …&lt;/i&gt;&lt;i&gt; case valorN: //codigo para el valorN&lt;/i&gt;&lt;i&gt;  break;&lt;/i&gt;&lt;i&gt; [default: //codigo para el valor por defecto&lt;/i&gt;&lt;i&gt;  break;]&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
La variable tiene que ser de tipo entero o carácter. A partir de
la versión 7 de java también se permite String (cadenas de
caracteres).&lt;br /&gt;
&lt;br /&gt;
Cada &lt;b&gt;case&lt;/b&gt; dentro de las llaves representa uno de los
posibles valores que puede tomar la variable. Si  el valor de la
variable encaja con alguno de los case se ejecutará el código de
ese case hasta el primer break.&lt;br /&gt;
&lt;br /&gt;
La instrucción &lt;b&gt;break&lt;/b&gt; es necesaria para que se detenga la
ejecución, en caso contrario se ejecutarían todos los casos
posteriores al seleccionado. 
&lt;br /&gt;
&lt;br /&gt;
La instrucción &lt;b&gt;default&lt;/b&gt; no es obligatoria pero, de usarse,
debe ir al final de todos los case. Es el valor por defecto, si
ningún case tiene el valor de la variable se ejecutará el código
de default.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ej:&lt;/b&gt; Supongamos que queremos simular el comportamiento de
una agenda. El programa pide al usuario un día de la semana y le
dice las tareas que tiene programadas para ese día:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6dTEWMnlE7APYZZom5A2ldmu4wf1ScsqVpeXQpHgGv6WQQr0eAutsyOuU1S-rTLS_gPE-o8GluZks2IZmFhnW85IiWQoV0JOiAkOyxNZzQ7HYYl4cbJ4AspmsJEiOCOhSdYHq4_5LuMN1/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;335&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6dTEWMnlE7APYZZom5A2ldmu4wf1ScsqVpeXQpHgGv6WQQr0eAutsyOuU1S-rTLS_gPE-o8GluZks2IZmFhnW85IiWQoV0JOiAkOyxNZzQ7HYYl4cbJ4AspmsJEiOCOhSdYHq4_5LuMN1/s400/7.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
La instrucción scan.nextLine() lee una cadena de teclado. Al
incluir .toLowerCase() la pasa entera a minúsculas para permitir al
usuario introducir “MARTES”, “Martes”, “MaRtEs” o
cualquier combinación de mayúsculas o minúsculas que quiera y que
el programa siga funcionando.&lt;br /&gt;
&lt;br /&gt;
El default se ejecutará si no se introduce un día valido, por
ejemplo: “martesa”.&lt;br /&gt;
&lt;br /&gt;
Si introducimos por teclado “martes” se ejecutará el segundo
caso que es el que tiene ese valor:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinunBiJkKqbIANXFvu39WwaA5T6eV-3jMF69C1LQew2ZALJiiM7JlM0zoYqYkgmeXLgCJzaYwLbJf-wI4wZXOgEv10YzT5Xqrcl0BnaplKEfUERDxmt2KQRZdrupz9ZpU4WoZkXOLoaGug/s1600/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinunBiJkKqbIANXFvu39WwaA5T6eV-3jMF69C1LQew2ZALJiiM7JlM0zoYqYkgmeXLgCJzaYwLbJf-wI4wZXOgEv10YzT5Xqrcl0BnaplKEfUERDxmt2KQRZdrupz9ZpU4WoZkXOLoaGug/s400/8.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SENTENCIAS REPETITIVAS&lt;/b&gt;&lt;br /&gt;
Las sentencias repetitivas permiten que unas determinadas
instrucciones se ejecuten un número finito de veces.&lt;br /&gt;
Son tres: for, while y do ... while&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;FOR&lt;/b&gt;&lt;br /&gt;
El for es un bucle controlado por contador. Se repite el código
encerrado entre llaves un número conocido de veces.&lt;br /&gt;
&lt;br /&gt;
La sintaxis es la siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;for (inicio; condición; incremento){&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; //codigo que se reptite&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Inicio&lt;/b&gt;: La inicialización del contador con el valor desde
el que empieza a contar. El contador debe ser una variable entera.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Condición&lt;/b&gt;: Es una condición lógica que debe cumplirse
para que el bucle se repita. En algún momento debe dejar de
cumplirse ya que sino el bucle se repetiría de forma indefinida y
eso es un error muy grave, es lo que se llama &lt;b&gt;bucle infinito&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Incremento&lt;/b&gt;: El incremento es el
encargado de hacer que el contador aumente (o disminuya en algunos
casos) su valor para que cuente las repeticiones y alcance el valor
necesario para detener la ejecución del bucle.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-decoration: none;&quot;&gt;
&lt;b&gt;Ej:&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt; El
siguiente código imprime por pantalla la tabla de multiplicar del 2:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-decoration: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaquv71eNOIuVQf-R142biqDwfvadFRvN9PvHZv7bQzcKdFoNzwaWgKA6XGyFUH_-A40JiVOxbHl96-00UYV1e18n6zLoVfjLNbVSYUdLNFDxJbneR3LzfKtJY9g6iMaQE9OXqtSlNg3ou/s1600/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;85&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaquv71eNOIuVQf-R142biqDwfvadFRvN9PvHZv7bQzcKdFoNzwaWgKA6XGyFUH_-A40JiVOxbHl96-00UYV1e18n6zLoVfjLNbVSYUdLNFDxJbneR3LzfKtJY9g6iMaQE9OXqtSlNg3ou/s400/9.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
El bucle se repite 10 veces ya que empieza en 1 (int i=1) y se
incrementa de uno en uno (i++). La condición indica que se repetirá
mientras sea menor o igual que 10. Como i va aumentando llegará un
momento en que superará el valor 10 y el bucle se detendrá.&lt;br /&gt;
&lt;br /&gt;
Dentro del for la i va aumentando en una unidad su valor, por lo
tanto, cada vez que se hace esta operación: “resultado = 2 * i”
la constante 2 se multiplica por un número una unidad mayor que la
vez anterior.&lt;br /&gt;
&lt;br /&gt;
El resultado final es el siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuDv494XVY51sy1t2UWVW6qmKn4sonY1x8A0r2EjOFWE6K3TL7XzuFD7lsh6dPI-mheOJy0yEfX7xbVe6LGBv1TGSV78IVbU5GZ30neal2ZWQxOpxEPY3ZZb7Q1__7X3_hyphenhyphengFKmNohmIzP/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuDv494XVY51sy1t2UWVW6qmKn4sonY1x8A0r2EjOFWE6K3TL7XzuFD7lsh6dPI-mheOJy0yEfX7xbVe6LGBv1TGSV78IVbU5GZ30neal2ZWQxOpxEPY3ZZb7Q1__7X3_hyphenhyphengFKmNohmIzP/s320/10.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Como se puede apreciar aparece la operación 10 veces (las
repeticiones del bucle) y cada vez tiene el valor correspondiente al
termino por el que se multiplica (i).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;WHILE&lt;/b&gt;&lt;br /&gt;
La sentencia while también permite realizar repeticiones pero, en
este caso, el número de repeticiones no tiene porqué ser conocido
(entre 0 y n) aunque, al igual que ocurría con el for, debe ser un
número finito.&lt;br /&gt;
La sintaxis es la siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;while (condición) {&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; //codigo que se repite&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Si la condición es cierta el bucle se repite. En algún momento
debe dejar de ser cierta para impedir el &lt;b&gt;bucle infinito&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ej:&lt;/b&gt; Supongamos que queremos saber cuantas veces hay que
multiplicar un número por si mismo para superar 3546:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmib2NE1JFk2sey9KyvRU4GEhXcqkGqjfoE5VC6-6qJREOm5IOWhQ7-uS-vajL0F78EnIsPsLgnam7so5BpjHKZJ9Z658DiUqYEE8Zsx_7DyxOHsLl76GPw7eEKcyg1zZMaju-newSDOyF/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;169&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmib2NE1JFk2sey9KyvRU4GEhXcqkGqjfoE5VC6-6qJREOm5IOWhQ7-uS-vajL0F78EnIsPsLgnam7so5BpjHKZJ9Z658DiUqYEE8Zsx_7DyxOHsLl76GPw7eEKcyg1zZMaju-newSDOyF/s640/11.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
“n” es el número que se quiere multiplicar.&lt;br /&gt;
&lt;br /&gt;
“contador” es el encargado de contar las veces que se
multiplica por si mismo. Inicialmente es 0 ya que no se ha empezado a
hacer ninguna operación.&lt;br /&gt;
&lt;br /&gt;
“producto” irá acumulando las operaciones. Empieza con el
valor de n ya que es el número que se quiere multiplicar.&lt;br /&gt;
&lt;br /&gt;
La condición del while indica que se repetirá el código del
interior de las llaves mientras el producto tenga un valor inferior a
3546.&lt;br /&gt;
&lt;br /&gt;
Dentro de las llaves se multiplica “producto”, que
inicialmente vale 3 por “n” que es 3 y se vuelve a guardar en
“producto” reemplazando el 3 que contenía por un 9. En la
siguiente repetición “producto” vale 9, se vuelve a multiplicar
por 3 y se vuelve a guardar en “producto” que pasa a valer 27 y
así sucesivamente hasta alcanzar o superar el valor deseado que será
cuando el bucle se detenga. Además, por cada repetición, el
contador incrementa su valor en una unidad, por lo que al final su
valor será el número de veces que se ha repetido el bucle para
conseguir el resultado deseado:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFqHpxOUy80P0QYi3qHiiBogpp9p8rosT57SCPcli7h3YWgIBdNUjtpGSXEPv77HDxELn-8BdijntQqKeKAiwrs_ZOpP3-2LZyenNijNfo462VfIF8uM_VZlmJ9njU-WBYQqaRnik3AWeD/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;86&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFqHpxOUy80P0QYi3qHiiBogpp9p8rosT57SCPcli7h3YWgIBdNUjtpGSXEPv77HDxELn-8BdijntQqKeKAiwrs_ZOpP3-2LZyenNijNfo462VfIF8uM_VZlmJ9njU-WBYQqaRnik3AWeD/s400/12.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;DO ... WHILE&lt;/b&gt;&lt;br /&gt;
El funcionamiento es el mismo que el while, la diferencia es que
este bucle se repite entre 1 y n veces. Se suele usar para validar
datos.&lt;br /&gt;
&lt;br /&gt;
La sintaxis es la siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;do{&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; //código que se repite&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt;}while (condición);&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
La instrucción do no impide el acceso al bucle en ningún caso,
por lo que al menos una vez se ejecutará el código entre llaves.&lt;br /&gt;
&lt;br /&gt;
El bucle se repite mientras la &lt;b&gt;condición&lt;/b&gt; sea cierta, igual
que en el while. Por supuesto, en este caso, también hay que evitar
los &lt;b&gt;bucles infinitos&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Este bucle es el único que termina en punto y coma (;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ej:&lt;/b&gt; Supongamos que queremos que el usuario adivine el
número en el que estamos pensando. Al menos una vez se lo
&lt;span style=&quot;text-decoration: none;&quot;&gt;preguntaremos&lt;/span&gt; y si lo
acierta no insistiremos más pero, si no lo acierta se lo volveremos
a preguntar hasta que lo acierte:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdnOS9TZzlEKzl55u9m-JhVlh2IHds_Hdp-Rp2OC1mnXQpXGQoEGaNFBGSZXAFtUCJLJZC7_E3f1bYEgyJr2hyQGwHrx-RKAq-S24u1OI3gb0BYC2KY4-Qs7Rkw0qBUw8GoljQDawvzsPd/s1600/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;130&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdnOS9TZzlEKzl55u9m-JhVlh2IHds_Hdp-Rp2OC1mnXQpXGQoEGaNFBGSZXAFtUCJLJZC7_E3f1bYEgyJr2hyQGwHrx-RKAq-S24u1OI3gb0BYC2KY4-Qs7Rkw0qBUw8GoljQDawvzsPd/s400/13.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
El número que debe acertar es n, que vale 5. Siempre que
introduzca un valor distinto a este, la condición “numero != n”
se cumplirá por lo que el bucle se repetirá. Solo cuando lo acierte
la condición dejará de ser cierta y el bucle se detendrá
permitiendo ejecutar el código que hay después: “System.out.println
(“Has acertado!!!”);”:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYU8_iUEJygUJTPpnGS253sxFyW7NQSIUxwt-SJFZhq72yjX4IHzPmozbGc_N1mHM7IP-S1XJ3HD3H4th81i9aNMmVUGuSHTbXlSNa1zg7Uv87NZ0LSQkng5RvF0v8yWhJBBVbMtDdU3Kt/s1600/14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYU8_iUEJygUJTPpnGS253sxFyW7NQSIUxwt-SJFZhq72yjX4IHzPmozbGc_N1mHM7IP-S1XJ3HD3H4th81i9aNMmVUGuSHTbXlSNa1zg7Uv87NZ0LSQkng5RvF0v8yWhJBBVbMtDdU3Kt/s400/14.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://mientrasprogramo.blogspot.com/2013/04/control-de-flujo-en-java.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipGBes8448KYbVjUZsq9qTPltBcjDmmOiA7omoNbIrAF26oWSfRHV44JPkISPSstP7IMDcPwc5ujS58Xy0-6rV91ByRtq4MhKdc2St5yyvi-4vS53iMjPcKnctdpy90I7g2YhI2efe3J2f/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-5442162608197634126</guid><pubDate>Thu, 28 Mar 2013 20:22:00 +0000</pubDate><atom:updated>2013-03-28T21:30:30.826+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><title>Operadores y expresiones en Java</title><description>&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:DocumentProperties&gt;
  &lt;o:Template&gt;Normal.dotm&lt;/o:Template&gt;
  &lt;o:Revision&gt;0&lt;/o:Revision&gt;
  &lt;o:TotalTime&gt;0&lt;/o:TotalTime&gt;
  &lt;o:Pages&gt;1&lt;/o:Pages&gt;
  &lt;o:Words&gt;955&lt;/o:Words&gt;
  &lt;o:Characters&gt;5446&lt;/o:Characters&gt;
  &lt;o:Company&gt;Domestico&lt;/o:Company&gt;
  &lt;o:Lines&gt;45&lt;/o:Lines&gt;
  &lt;o:Paragraphs&gt;10&lt;/o:Paragraphs&gt;
  &lt;o:CharactersWithSpaces&gt;6688&lt;/o:CharactersWithSpaces&gt;
  &lt;o:Version&gt;12.256&lt;/o:Version&gt;
 &lt;/o:DocumentProperties&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves&gt;false&lt;/w:TrackMoves&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:HyphenationZone&gt;21&lt;/w:HyphenationZone&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:DrawingGridHorizontalSpacing&gt;18 pt&lt;/w:DrawingGridHorizontalSpacing&gt;
  &lt;w:DrawingGridVerticalSpacing&gt;18 pt&lt;/w:DrawingGridVerticalSpacing&gt;
  &lt;w:DisplayHorizontalDrawingGridEvery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;
  &lt;w:DisplayVerticalDrawingGridEvery&gt;0&lt;/w:DisplayVerticalDrawingGridEvery&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:DontAutofitConstrainedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
  &lt;/w:Compatibility&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;276&quot;&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;

&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
table.MsoNormalTable
 {mso-style-name:&quot;Tabla normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:&quot;Times New Roman&quot;;
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;}
table.MsoTableGrid
 {mso-style-name:&quot;Tabla con cuadrícula&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 border:solid black;
 mso-border-themecolor:text1;
 border:1.0pt;
 mso-border-alt:solid black;
 mso-border-themecolor:text1;
 mso-border-alt:.5pt;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-border-insideh:.5pt solid black;
 mso-border-insideh-themecolor:text1;
 mso-border-insidev:.5pt solid black;
 mso-border-insidev-themecolor:text1;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;
 mso-fareast-language:EN-US;}
&lt;/style&gt;
&lt;![endif]--&gt;



&lt;!--StartFragment--&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;EXPRESIONES&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Una expresión es un conjunto de variables, constantes y/ó
funciones unidas mediante uno o varios operadores. El resultado será un único
valor numérico, lógico o una cadena de caracteres. Si las expresiones son muy
complejas se suelen encerrar entre paréntesis para distinguir el orden de
ejecución de la misma. Lo que está entre paréntesis siempre es lo primero que
se ejecuta ya que este operador es el más prioritario de todos.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Ej: x=5*(6+4);&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En el ejemplo lo primero que se ejecuta es la suma ya que
está entre paréntesis, si no estuviesen los paréntesis se ejecutaría primero el
producto puesto que su operador es más prioritario.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En la siguiente tabla se muestra el orden de precedencia de
los operadores ordenados de más a menos prioritario:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Máxima prioridad&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Expresión&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
( ) [ ]&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Unarios&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
- ! ++ --&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Multiplicativos&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
* / %&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Aditivos&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
+ -&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
De
  movimiento de bits&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;gt;&amp;gt;
  &amp;lt;&amp;lt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Relacionales&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;lt; &amp;lt;=
  &amp;gt; &amp;gt;= == !=&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Lógicos&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;amp; ^|
  &amp;amp;&amp;amp; ||&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 8;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Condicionales&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
?&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 9;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Asignación&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
=&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 10; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td colspan=&quot;2&quot; style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Minima prioridad&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En los puntos siguientes los explico con más detalle.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OPERADORES
ARITMÉTICOS&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Permiten realizar operaciones aritméticas con datos
numéricos.&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Operador&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Descripción&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Sintaxis&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
+&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
suma&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
valor1 +
  valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
-&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
resta&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
valor1 –
  valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
*&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
producto&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1 *
  valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
/&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
división&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1 /
  valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
%&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
módulo
  (resto división entera)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1 %
  valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
++&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
incremento&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable++
  ó ++variable&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
--&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
decremento&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Variable
  -- ó --variable&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 8; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
-&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
cambio de
  signo&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
-valor&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Operadores suma,
resta, producto, división y módulo&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En el siguiente ejemplo se declaran dos números enteros con
los que se realizan una serie de operaciones (suma, resta, producto, división y
módulo). El resultado de cada operación se almacena en la variable resultado.
Cada vez que se almacena un nuevo resultado se pierde el anterior por eso se
imprime por pantalla antes:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7jt_SX1b-5qtcrPrn8MX3rRvnKO_BNjh-HwFycvsWQDWdAQXBcJyLpPTlwN8L-F0_NIP7XjwcMIvkkBzolN-KPPgktpjYrU6bfOjvxdzzizbyRtWs7FfFR9amtZl0g-4GD8XZeK7ggUP7/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7jt_SX1b-5qtcrPrn8MX3rRvnKO_BNjh-HwFycvsWQDWdAQXBcJyLpPTlwN8L-F0_NIP7XjwcMIvkkBzolN-KPPgktpjYrU6bfOjvxdzzizbyRtWs7FfFR9amtZl0g-4GD8XZeK7ggUP7/s1600/1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
la salida de este código es:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR2RYMoJhpzSwFyfBrNzTQ_UEjwiwqHStfG0UVbOWs9RdwqCLct6Ftbz0i3PmXuTihQ6ui2suSwRwaZFH8llL4jUF3SeSosGZZc1ppcXDM_EQ03WJu2kYm-6PPrAcvMy4i-R0Z1pt8bIAN/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR2RYMoJhpzSwFyfBrNzTQ_UEjwiwqHStfG0UVbOWs9RdwqCLct6Ftbz0i3PmXuTihQ6ui2suSwRwaZFH8llL4jUF3SeSosGZZc1ppcXDM_EQ03WJu2kYm-6PPrAcvMy4i-R0Z1pt8bIAN/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El resultado de dividir x (5) entre y (2) es 2. Esto se debe
a que x e y son números enteros por lo tanto se hace la división entera. No
queda exacta, sobraría uno. Se puede obtener ese dato con el modulo (%) que
devuelve 1, ya que es lo que sobra de la división. Es el resto.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Si lo que se pretende es que el resultado sea un numero
real, hay que usar variables reales para que el operador no realice una
división entera:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjusPLkYopM633b0Jm49BzM3JqtTkuHRC1LP6KhJcEoAiGDnZtJZrlZxGDZmtTmGQmEyeT9aBNbUv5h4TSRiVdqw1QsCHbt40pj-wJiacCbUyteCPZe7zufflLqilrD4ghcRWB1XkhTlLno/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjusPLkYopM633b0Jm49BzM3JqtTkuHRC1LP6KhJcEoAiGDnZtJZrlZxGDZmtTmGQmEyeT9aBNbUv5h4TSRiVdqw1QsCHbt40pj-wJiacCbUyteCPZe7zufflLqilrD4ghcRWB1XkhTlLno/s1600/3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El resultado será un numero real:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm07r6LiWrbV3kNescY4dipQg-yXi1zi9hovW0ClOcJKMm1TccFBmCOCX4dWcFqKxONG0sJ9_RQ_4QNSAc8Rw9ox239A8TH954LaJQYMQEUamR_YkXbhuzrOXfrc0-cAPo54hR8f6iisUt/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;78&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm07r6LiWrbV3kNescY4dipQg-yXi1zi9hovW0ClOcJKMm1TccFBmCOCX4dWcFqKxONG0sJ9_RQ_4QNSAc8Rw9ox239A8TH954LaJQYMQEUamR_YkXbhuzrOXfrc0-cAPo54hR8f6iisUt/s320/4.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Operadores de
incremento y decremento&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Estos operadores son unarios o monarios. Esto significa que
afectan a una única variable. Se pueden usar tanto delante (prefijo) como
detrás (postfijo) de la variable sobre la que se quiere hacer la operación. El
resultado será el mismo (incrementar o decrementar):&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoe5Z5FRJVHexM_wrIz0rGyP9MPHC7T4go1tHihvrLLgZZVH6ejBxE1XClCKNgq_1ZTPK2Kn9zev1kzxsh6ppwGW41NdLtcAorc8F9nIWJLXv8ILkBa564X1XK-PaboJSwk7sWxi-IjjjZ/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoe5Z5FRJVHexM_wrIz0rGyP9MPHC7T4go1tHihvrLLgZZVH6ejBxE1XClCKNgq_1ZTPK2Kn9zev1kzxsh6ppwGW41NdLtcAorc8F9nIWJLXv8ILkBa564X1XK-PaboJSwk7sWxi-IjjjZ/s320/6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En la salida se puede ver que la y se ha ido decrementando
en una unidad y la x incrementándose también en una unidad:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglTzM8kQVTfFV9LUAmigoT7GlpLt5sCsM3K09pu7kzF8yHr7NcwujIu-veylBAf7xESW95pJpxFvUXRKnSFEkkYevc_4S7WRwAj9vcmuxLhqcP7kZjAF2EFDcaQjl9L63CLQFC9Wdx4Oym/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;83&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglTzM8kQVTfFV9LUAmigoT7GlpLt5sCsM3K09pu7kzF8yHr7NcwujIu-veylBAf7xESW95pJpxFvUXRKnSFEkkYevc_4S7WRwAj9vcmuxLhqcP7kZjAF2EFDcaQjl9L63CLQFC9Wdx4Oym/s320/7.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hay que tener cuidado si se usan estos operadores en una
asignación ya que el resultado cambiará si se usa el operador prefijo o el
postfijo:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPTwA8b8dUSRd3o4AqFSBeB23aQK684Kg9CeaV4gs0ygWedsbIclEQhir-n3v8Ktvtzg61zsTioqb0B2zqmSkWSsISWu6-V8AqJM0HztLFzyGEi_Bkelp8pba0HYgGa0NuSz8rjSPwbct6/s1600/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPTwA8b8dUSRd3o4AqFSBeB23aQK684Kg9CeaV4gs0ygWedsbIclEQhir-n3v8Ktvtzg61zsTioqb0B2zqmSkWSsISWu6-V8AqJM0HztLFzyGEi_Bkelp8pba0HYgGa0NuSz8rjSPwbct6/s320/8.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Salida:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIp3K8AE6AAe8hNZ15hPf7ynP_tzITZd3wKx6ZMPQDWund7fzyuBBY3eRmrbf5_SdY7RLcFlwN00yJma3OK_wWBcHtJwi3ukx1g-cWvApNGD0P3uXuDLUj-6J1j2Kzsx1ClK0EHfsCBknh/s1600/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIp3K8AE6AAe8hNZ15hPf7ynP_tzITZd3wKx6ZMPQDWund7fzyuBBY3eRmrbf5_SdY7RLcFlwN00yJma3OK_wWBcHtJwi3ukx1g-cWvApNGD0P3uXuDLUj-6J1j2Kzsx1ClK0EHfsCBknh/s320/9.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Como se ve en la salida, el operador prefijo, primero
modifica x y luego asigna el nuevo valor a y. En el caso del postfijo es al
revés. Primero asigna el valor de x a y, luego modifica x. En los dos casos la
variable a la que afecta el operador se ve afectada, la diferencia está en la
variable a la que se le asigna el valor.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Operador de cambio de
signo&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El operador de cambio de signo es igual que el operador de
resta, pero su funcionamiento es distinto. Al colocar este operador delante de
una variable en una asignación hace que el dato guardado sea de signo apuesto
al original:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijW3hohka2xGb4bCdRtwmJTpBjSxar1jS-MngZa6sbxUTpf0qLhGffy7V27J-DFJsoGXPBXpTIKXJy0l3zaJWFgZpK5mhpSEjfIcehm0X2V3bdRDLjjztP2a2MFk7lRXS4zdr9-40kW6Nl/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijW3hohka2xGb4bCdRtwmJTpBjSxar1jS-MngZa6sbxUTpf0qLhGffy7V27J-DFJsoGXPBXpTIKXJy0l3zaJWFgZpK5mhpSEjfIcehm0X2V3bdRDLjjztP2a2MFk7lRXS4zdr9-40kW6Nl/s1600/10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Salida:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_WjUARJOJVytlZS125lbuKyroDiK29o6DCACDDwMPEniHSFKm3gIxLsQv7xdwyiow9dUR_go8IKC1Gwn6llW7y1N5LklGt2UfkXSlO2jhENanLCHoHre7tZvmKuVF6FHsw569z2J1JWbn/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;62&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_WjUARJOJVytlZS125lbuKyroDiK29o6DCACDDwMPEniHSFKm3gIxLsQv7xdwyiow9dUR_go8IKC1Gwn6llW7y1N5LklGt2UfkXSlO2jhENanLCHoHre7tZvmKuVF6FHsw569z2J1JWbn/s320/11.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OPERADORES
RELACIONALES&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Permiten comparar dos valores numéricos o caracteres.
Devuelven true o false en función de que la comparación sea cierta o falsa.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Operador&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Descripción&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Sintaxis&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
mayor
  exclusivo&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1
  &amp;gt; valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;lt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
menor
  exclusivo&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1
  &amp;lt; valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;gt;=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
mayor o
  igual&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1
  &amp;gt;= valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;lt;=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
menor o
  igual&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1
  &amp;lt;= valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
==&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
igualdad&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1 ==
  valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
!=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
desigualdad&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Valor1 !=
  valor2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;Un ejemplo con cada operador:&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleutV69axgACiPzJUhOkRzEHwCJmYjxHqgxPKmtOH_bnAVkjpUvb4F5MoRUL_nBXpu_5BibLM8486V-oHq9WTX91p3wBsVW3gSOQLmPuSB1Fevj2JN2YX7vdj-S57JrWBmf1wg1ahd3ED/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleutV69axgACiPzJUhOkRzEHwCJmYjxHqgxPKmtOH_bnAVkjpUvb4F5MoRUL_nBXpu_5BibLM8486V-oHq9WTX91p3wBsVW3gSOQLmPuSB1Fevj2JN2YX7vdj-S57JrWBmf1wg1ahd3ED/s320/12.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida de este código es:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWZqL6q0auiuBPUUMRMiXWdNsgdARJ341xkJUbwvEHYYguzSCrgpSJHUTp2Fc3yDVjWvQwNKtu3iuBmsqjRyY1lcBz5teNElAfASrlHdOaa1V3AMTE_xHjRZmtmUmATHbWpb-L4FhVFjbO/s1600/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWZqL6q0auiuBPUUMRMiXWdNsgdARJ341xkJUbwvEHYYguzSCrgpSJHUTp2Fc3yDVjWvQwNKtu3iuBmsqjRyY1lcBz5teNElAfASrlHdOaa1V3AMTE_xHjRZmtmUmATHbWpb-L4FhVFjbO/s320/13.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
NOTA: No hay que confundir el operador de igualdad (==) con
el de asignación (=).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OPERADORES LÓGICOS&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Permiten unir expresiones lógicas para evaluarlas en
conjunto y saber si son true o false.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Operador&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Descripción&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Sintaxis&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;amp;&amp;amp;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
conjunción
  (and)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Expresión
  &amp;amp;&amp;amp; expresión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
||&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
disyunción
  (or)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Expresión
  || expresión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
!&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
negación
  (not)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
! expresion&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&amp;amp;&amp;amp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Las dos expresiones deben ser true para que la expresión
completa sea true:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&amp;amp;&amp;amp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;true&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;true&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
true&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
false&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
false&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
false&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDuyCvPPrPdmaxPjEsO7SrG1BXyOBBiNJgFOzJfG9MDmP3tL42gDhD5egN-ffHCHCGfBusEJYjBQdHNJ2ET9Tz2-TRFY5V_t3_sSVTXAHFSfVHotUKnZyXUW7wVqGe_KMAuQLc7lFl0QMW/s1600/14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;151&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDuyCvPPrPdmaxPjEsO7SrG1BXyOBBiNJgFOzJfG9MDmP3tL42gDhD5egN-ffHCHCGfBusEJYjBQdHNJ2ET9Tz2-TRFY5V_t3_sSVTXAHFSfVHotUKnZyXUW7wVqGe_KMAuQLc7lFl0QMW/s400/14.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-xMmM-xxwO-8gVepU6UZ2JXlXx3rxNMktNVvOSZ-PvKglI5OhEQZvzmlQ7tCE7-quokKKtyNw2MNbZyFIXF2GBzUMMjarxW0xMAucjnMuMuiihrjH3T1Ed7OmovepkPLqkNegSiBC6O0g/s1600/15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;94&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-xMmM-xxwO-8gVepU6UZ2JXlXx3rxNMktNVvOSZ-PvKglI5OhEQZvzmlQ7tCE7-quokKKtyNw2MNbZyFIXF2GBzUMMjarxW0xMAucjnMuMuiihrjH3T1Ed7OmovepkPLqkNegSiBC6O0g/s320/15.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;||&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Es suficiente que una de las dos expresiones sea true para
que la expresión completa lo sea:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;||&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;true&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;true&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
true&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
true&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
true&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
false&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnhaZzLqqWyNywiKW_ULT5j1qvhKxNJHAhiH7E5aTQ6rkiKPfsd09YlXn7FdlTHX8IHIbxyRVKpyZabtTC1XVPTpb9rm46_rJljSgiLSBLyMHiipFGf9_F-j93fJ5HI_Udb4oUIoeC6fBp/s1600/16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;148&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnhaZzLqqWyNywiKW_ULT5j1qvhKxNJHAhiH7E5aTQ6rkiKPfsd09YlXn7FdlTHX8IHIbxyRVKpyZabtTC1XVPTpb9rm46_rJljSgiLSBLyMHiipFGf9_F-j93fJ5HI_Udb4oUIoeC6fBp/s400/16.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-zDGSWMkyFTitd10-_yEKowhvqr6S95-wMr7yH5Kldb3-IB7hTwzLiYHZcFSjlLeF2f64KlLG5JWHKBh7DehF97L0Tv827lY6FoG-kRKM02bMYu4d6bRBt3gCXdrxf7GXKrbkrY4TIgd-/s1600/17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;90&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-zDGSWMkyFTitd10-_yEKowhvqr6S95-wMr7yH5Kldb3-IB7hTwzLiYHZcFSjlLeF2f64KlLG5JWHKBh7DehF97L0Tv827lY6FoG-kRKM02bMYu4d6bRBt3gCXdrxf7GXKrbkrY4TIgd-/s320/17.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;!&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Niega la expresión. El valor será el contrario:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;!&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;true&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
false&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
true&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8BeC9YCIHhkc5U3GY5w_lumTb1VLEaa4LZZipdK7qZ1H9PLdwTOlnRxxzwjuHURam0OK5QUwESjg1_LGBvVepWM4KXwb9s_KZuuvFssVCgIvyW-LE1fdatBmv6x7_maKdaUOjKCMRXAKT/s1600/18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;137&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8BeC9YCIHhkc5U3GY5w_lumTb1VLEaa4LZZipdK7qZ1H9PLdwTOlnRxxzwjuHURam0OK5QUwESjg1_LGBvVepWM4KXwb9s_KZuuvFssVCgIvyW-LE1fdatBmv6x7_maKdaUOjKCMRXAKT/s320/18.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg43sdpPqfs6nMB2V35swalIWIeV_Nj3K1VxcuOrzdWJqIMS8M_465yGvDPdvfwN3IA0w84T-ryvvkjUB5JQC2T0ZDV-X-US8raEydksytYhPzb3Ofs6ejWpH5HpZQwZcEYamjDmZsmJjf/s1600/19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;77&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg43sdpPqfs6nMB2V35swalIWIeV_Nj3K1VxcuOrzdWJqIMS8M_465yGvDPdvfwN3IA0w84T-ryvvkjUB5JQC2T0ZDV-X-US8raEydksytYhPzb3Ofs6ejWpH5HpZQwZcEYamjDmZsmJjf/s320/19.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OPERADORES DE
ASIGNACIÓN&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Asignan el valor de la expresión de la derecha en la
variable de la izquierda. Siempre se evalúa la parte derecha primero. No es una
ecuación.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Operador&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Descripción&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Sintaxis&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Equivalente a&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
asignación&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable=expresión&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
+=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
suma&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable+=expresión&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable=variable+expresión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
-=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
resta&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable-=expresión&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable=variable-expresión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
*=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
producto&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable*=expresión&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable=variable*expresión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
/=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
división&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable/=expresión&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable=variable/expresión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
%=&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
módulo&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable%=expresión&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
variable=variable%expresión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi07g6PYow_qCMTmh4q1rVOBJe52DyI5WY48nsuJf5YX_fvQ9qWH2ZzTviEWk97QYIn5QZH8n78EeO1Remg3WOrpedIH5sC8h6F-lR1hR3WaB0WdC56INY4F4q1K0BMFJVdKMBKakuGQV_L/s1600/20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi07g6PYow_qCMTmh4q1rVOBJe52DyI5WY48nsuJf5YX_fvQ9qWH2ZzTviEWk97QYIn5QZH8n78EeO1Remg3WOrpedIH5sC8h6F-lR1hR3WaB0WdC56INY4F4q1K0BMFJVdKMBKakuGQV_L/s1600/20.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
El resultado de la suma (x+y) se almacena en z:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDUMu6EQ9WbJ-YTXSsCCgpFqltlZ7hL-7_NxAxjLmw_9p-gsbF7myV76lma4fyBA8ljviJ74gesKOxycBz0WihJhflWxkiCaLAR28C0LgS1uMLTHFW2LHbMj1PLL8uIsM87E89AFMUqQOL/s1600/21.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;56&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDUMu6EQ9WbJ-YTXSsCCgpFqltlZ7hL-7_NxAxjLmw_9p-gsbF7myV76lma4fyBA8ljviJ74gesKOxycBz0WihJhflWxkiCaLAR28C0LgS1uMLTHFW2LHbMj1PLL8uIsM87E89AFMUqQOL/s320/21.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El primer operador de la tabla es el de asignación, el resto
son abreviaciones de expresiones más largas que contienen en la parte derecha
la misma variable que se encuentra en la parte izquierda de la asignación:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUKPV3IcyPTmdDRj_BNafqnNY8x7YWAPmGZumQZJoOxA9TiDXaCrgaWlkvmPeVlHjhuCIUz4ahhICj52VzlrPbeOe_BwCyJ6UGnomcZ8Cg109yr4pj-FHbu8Y6OltNROEco-SJOrfSJ5D1/s1600/23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUKPV3IcyPTmdDRj_BNafqnNY8x7YWAPmGZumQZJoOxA9TiDXaCrgaWlkvmPeVlHjhuCIUz4ahhICj52VzlrPbeOe_BwCyJ6UGnomcZ8Cg109yr4pj-FHbu8Y6OltNROEco-SJOrfSJ5D1/s1600/23.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OPERADOR ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Sirve para realizar asignaciones condicionales. Es decir, se
evaluará una expresión lógica y dependiendo de si es true o false se asignará
un valor u otro. La sintaxis es la siguiente:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
variable = expresión_logica ? valor_verdadero : valor_falso;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En el siguiente ejemplo se compran dos valores enteros. Si x
es mayor que y entonces se guarda en resultado el primer valor (“X es mayor”)
que se corresponde con el verdadero, sino se guarda el segundo (“Y es mayor”)
que se corresponde con el falso:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_PSDeBXHSIza84lRMBDPjwypWetADUkFLeQXUa_0_wmZY-FLdUYVPo2TMLBuYK52kSr34Jj9xOhyphenhyphenRDe5JXPP1BJ1OhlqfjlqeljYtp6VF5NaEpScgz_EZK0E7lDeFIkrjUwQC1czRUbpM/s1600/24.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;103&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_PSDeBXHSIza84lRMBDPjwypWetADUkFLeQXUa_0_wmZY-FLdUYVPo2TMLBuYK52kSr34Jj9xOhyphenhyphenRDe5JXPP1BJ1OhlqfjlqeljYtp6VF5NaEpScgz_EZK0E7lDeFIkrjUwQC1czRUbpM/s400/24.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El resultado es el siguiente:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRlB36hyphenhypheniu8oNpL2sVp4JgtbScHQzhsoVCM-GmW4nT-MHXqOjO3uv9ueUFFGkVKteozkDlkqk3bWmFaQunOvpm7LLZZ1X81EfhXS2J66cdvDzY85MaFNATFWiI2CjWsqsCAbrsdd7i2o3k/s1600/25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;57&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRlB36hyphenhypheniu8oNpL2sVp4JgtbScHQzhsoVCM-GmW4nT-MHXqOjO3uv9ueUFFGkVKteozkDlkqk3bWmFaQunOvpm7LLZZ1X81EfhXS2J66cdvDzY85MaFNATFWiI2CjWsqsCAbrsdd7i2o3k/s320/25.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OPERADORES A NIVEL DE
BITS&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Estos operadores trabajan desde el nivel interno de los
datos, sus bits (0s y 1s). En computación el 1 representa un valor verdadero y
el 0 un valor falso por lo que las operaciones que se realiza con ellos son
logicas y funcionan de forma similar a las que se realizan con los operadores
&amp;amp;&amp;amp; (and) y || (or).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Operador&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Descripción&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Sintaxis&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;amp;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Conjunción
  de bits (and)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
dato1
  &amp;amp; dato2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
|&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Disyunción
  de bits (or)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
dato1 |
  dato2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
^&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Disyunción
  excluyente de bits (xor)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
dato1 ^
  dato2&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;lt;&amp;lt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Desplazamiento
  de bits a la izquierda&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
dato1
  &amp;lt;&amp;lt; numero_bits&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&amp;gt;&amp;gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Desplazamiento
  de bits a la derecha&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
dato1
  &amp;gt;&amp;gt; numero_bits&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
~&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Complemento&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
~dato&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En este post no los explicaré. Si le interesan a alguien puedo hacer un post solo para ellos porque son algo extensos de explicar.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:DocumentProperties&gt;
  &lt;o:Template&gt;Normal.dotm&lt;/o:Template&gt;
  &lt;o:Revision&gt;0&lt;/o:Revision&gt;
  &lt;o:TotalTime&gt;0&lt;/o:TotalTime&gt;
  &lt;o:Pages&gt;1&lt;/o:Pages&gt;
  &lt;o:Words&gt;54&lt;/o:Words&gt;
  &lt;o:Characters&gt;313&lt;/o:Characters&gt;
  &lt;o:Company&gt;Domestico&lt;/o:Company&gt;
  &lt;o:Lines&gt;2&lt;/o:Lines&gt;
  &lt;o:Paragraphs&gt;1&lt;/o:Paragraphs&gt;
  &lt;o:CharactersWithSpaces&gt;384&lt;/o:CharactersWithSpaces&gt;
  &lt;o:Version&gt;12.256&lt;/o:Version&gt;
 &lt;/o:DocumentProperties&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves&gt;false&lt;/w:TrackMoves&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:HyphenationZone&gt;21&lt;/w:HyphenationZone&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:DrawingGridHorizontalSpacing&gt;18 pt&lt;/w:DrawingGridHorizontalSpacing&gt;
  &lt;w:DrawingGridVerticalSpacing&gt;18 pt&lt;/w:DrawingGridVerticalSpacing&gt;
  &lt;w:DisplayHorizontalDrawingGridEvery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;
  &lt;w:DisplayVerticalDrawingGridEvery&gt;0&lt;/w:DisplayVerticalDrawingGridEvery&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:DontAutofitConstrainedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
  &lt;/w:Compatibility&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;276&quot;&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;

&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
table.MsoNormalTable
 {mso-style-name:&quot;Tabla normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:&quot;Times New Roman&quot;;
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;}
&lt;/style&gt;
&lt;![endif]--&gt;



&lt;!--StartFragment--&gt;

&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OPERADORES CON
OBJETOS&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Existen otros operadores que se usan con objetos pero&amp;nbsp;los explicaré más adelante. Son los tres siguientes:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;instanceof&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Este operador sirve para saber si un objeto es idéntico a
una clase. Es muy útil en herencia.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;this&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Permite identificar la clase a la que pertenece un objeto. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;new&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El operador new sirve para reservar memoria e instanciar
objetos.&lt;/div&gt;
&lt;!--EndFragment--&gt;&lt;br /&gt;
&lt;!--EndFragment--&gt;</description><link>http://mientrasprogramo.blogspot.com/2013/03/operadores-y-expresiones.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7jt_SX1b-5qtcrPrn8MX3rRvnKO_BNjh-HwFycvsWQDWdAQXBcJyLpPTlwN8L-F0_NIP7XjwcMIvkkBzolN-KPPgktpjYrU6bfOjvxdzzizbyRtWs7FfFR9amtZl0g-4GD8XZeK7ggUP7/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-4267545197245496184</guid><pubDate>Sat, 23 Mar 2013 18:02:00 +0000</pubDate><atom:updated>2013-03-23T19:06:09.058+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><title>Entrada y salida estándar en Java</title><description>&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:DocumentProperties&gt;
  &lt;o:Template&gt;Normal.dotm&lt;/o:Template&gt;
  &lt;o:Revision&gt;0&lt;/o:Revision&gt;
  &lt;o:TotalTime&gt;0&lt;/o:TotalTime&gt;
  &lt;o:Pages&gt;1&lt;/o:Pages&gt;
  &lt;o:Words&gt;1115&lt;/o:Words&gt;
  &lt;o:Characters&gt;6361&lt;/o:Characters&gt;
  &lt;o:Company&gt;Domestico&lt;/o:Company&gt;
  &lt;o:Lines&gt;53&lt;/o:Lines&gt;
  &lt;o:Paragraphs&gt;12&lt;/o:Paragraphs&gt;
  &lt;o:CharactersWithSpaces&gt;7811&lt;/o:CharactersWithSpaces&gt;
  &lt;o:Version&gt;12.256&lt;/o:Version&gt;
 &lt;/o:DocumentProperties&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves&gt;false&lt;/w:TrackMoves&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:HyphenationZone&gt;21&lt;/w:HyphenationZone&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:DrawingGridHorizontalSpacing&gt;18 pt&lt;/w:DrawingGridHorizontalSpacing&gt;
  &lt;w:DrawingGridVerticalSpacing&gt;18 pt&lt;/w:DrawingGridVerticalSpacing&gt;
  &lt;w:DisplayHorizontalDrawingGridEvery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;
  &lt;w:DisplayVerticalDrawingGridEvery&gt;0&lt;/w:DisplayVerticalDrawingGridEvery&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:DontAutofitConstrainedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
  &lt;/w:Compatibility&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;276&quot;&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;

&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
table.MsoNormalTable
 {mso-style-name:&quot;Tabla normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:&quot;Times New Roman&quot;;
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;}
table.MsoTableGrid
 {mso-style-name:&quot;Tabla con cuadrícula&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 border:solid black;
 mso-border-themecolor:text1;
 border:1.0pt;
 mso-border-alt:solid black;
 mso-border-themecolor:text1;
 mso-border-alt:.5pt;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-border-insideh:.5pt solid black;
 mso-border-insideh-themecolor:text1;
 mso-border-insidev:.5pt solid black;
 mso-border-insidev-themecolor:text1;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;
 mso-fareast-language:EN-US;}
&lt;/style&gt;
&lt;![endif]--&gt;



&lt;!--StartFragment--&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;ESCRITURA DE DATOS EN
LA CONSOLA DEL SISTEMA&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;PrintStream&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La clase PrintStream permite dar formato a la salida. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Cuando la aplicación arranca, automáticamente se crea un
objeto System.out&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;que permite
establecer comunicación entre la aplicación y el sistema operativo utilizando,
para ello, los métodos de formato que proporciona la clase PrintStream:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;print:&lt;/b&gt; envía
cadenas de caracteres a la consola del sistema.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
System.out.print (“cadena que se va a mostrar”);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghfLu1a0i8Mn16g3jbkZcjsg4jTYaMXfSX0oC2YMpKHgep_kgkrqqWFeRWedilAZ5i6iDmcEiXge0WYlAHa5uKEaK4kBaLZ6uxz59WhANMJyRNugdXWf4jLe_I0XOYiV3xfnLsavLLK4hL/s1600/1+print.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghfLu1a0i8Mn16g3jbkZcjsg4jTYaMXfSX0oC2YMpKHgep_kgkrqqWFeRWedilAZ5i6iDmcEiXge0WYlAHa5uKEaK4kBaLZ6uxz59WhANMJyRNugdXWf4jLe_I0XOYiV3xfnLsavLLK4hL/s1600/1+print.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Imagen_x0020_0&quot; o:spid=&quot;_x0000_i1061&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;print.png&quot; style=&#39;width:263pt;height:31pt;visibility:visible;
 mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image001.png&quot;
  o:title=&quot;print.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida por consola sería:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKVEUFN8T27PxoVa8KfrsAioxVAk2ystXiXdP-7uYiOvUGsEOFoV8AJKDjkFWwby92hQ9CQlk1HgUGKRa__yDlUP4Cz3vbFzWPcs-Q43z6CfHiAgrEzVCMk6Bb3kyoN0UTyKTA1GofcHQU/s1600/1+salidaPrint.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;45&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKVEUFN8T27PxoVa8KfrsAioxVAk2ystXiXdP-7uYiOvUGsEOFoV8AJKDjkFWwby92hQ9CQlk1HgUGKRa__yDlUP4Cz3vbFzWPcs-Q43z6CfHiAgrEzVCMk6Bb3kyoN0UTyKTA1GofcHQU/s320/1+salidaPrint.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1060&quot; type=&quot;#_x0000_t75&quot; alt=&quot;salidaPrint.png&quot;
 style=&#39;width:425pt;height:60pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image003.png&quot;
  o:title=&quot;salidaPrint.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida se muestra toda en la misma línea. Para que la
salida del método print genere una nueva línea hay que incluir el carácter de
salto de línea (‘\n’):&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSHo6FBVyPuCGFuiFjkKusvJ9Knt6AyJ7UCjeQxxF9ATYYUx92eIx1fkuDUeKl8I7PZyQ4EW1h060WUsByyl2rB_KeuJyzcsorHv2Mebb0UE7rkyL0OLQzTyogWWbRy8uKeF_EIpclMJpe/s1600/2+printsalto.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSHo6FBVyPuCGFuiFjkKusvJ9Knt6AyJ7UCjeQxxF9ATYYUx92eIx1fkuDUeKl8I7PZyQ4EW1h060WUsByyl2rB_KeuJyzcsorHv2Mebb0UE7rkyL0OLQzTyogWWbRy8uKeF_EIpclMJpe/s1600/2+printsalto.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_3&quot; o:spid=&quot;_x0000_i1059&quot; type=&quot;#_x0000_t75&quot; alt=&quot;printsalto.png&quot;
 style=&#39;width:276pt;height:38pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image005.png&quot;
  o:title=&quot;printsalto.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida de esta instrucción sería:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVxox3fRAAcEvISPptF3zogo8NaITHnIf7sU1Bvt3ryIEYLEv-sVnyVxPputzSgFe7zWKA6ExUQIJExg9DoN2ElCT-drpPyIMivBeV1CJVaQbZlC9SBUa1pKUxfIst5h-Vgn8dDaxeRb9V/s1600/2+salidasalto.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;61&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVxox3fRAAcEvISPptF3zogo8NaITHnIf7sU1Bvt3ryIEYLEv-sVnyVxPputzSgFe7zWKA6ExUQIJExg9DoN2ElCT-drpPyIMivBeV1CJVaQbZlC9SBUa1pKUxfIst5h-Vgn8dDaxeRb9V/s320/2+salidasalto.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_4&quot; o:spid=&quot;_x0000_i1058&quot; type=&quot;#_x0000_t75&quot; alt=&quot;salidaPrintsalto.png&quot;
 style=&#39;width:385pt;height:74pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image007.png&quot;
  o:title=&quot;salidaPrintsalto.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Este mismo resultado se puede obtener con el método println.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El método print se puede usar también para enviar a la
consola cualquier tipo de dato:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFstM4m88P9LNU2buf0w_iZ5gI4PP83oZzpyOzCEIySk_n_zyLOO8baKM6tSo8PHiLsXUG5Nc9J9a4JTzx1QKcb_dt8Dp6ntQZdvQtVJbdSfPnm40emhEMeIYV4b3RIRYMqNon0LCrWMLe/s1600/3+printdatos.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFstM4m88P9LNU2buf0w_iZ5gI4PP83oZzpyOzCEIySk_n_zyLOO8baKM6tSo8PHiLsXUG5Nc9J9a4JTzx1QKcb_dt8Dp6ntQZdvQtVJbdSfPnm40emhEMeIYV4b3RIRYMqNon0LCrWMLe/s1600/3+printdatos.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Salida:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj61MUlwmAwzXqNZ8BRcSWFZVEC5luitXk5189s6aWJJNreu_pkk_h-M7TUi2o2KVcr69GnpU1vPDNhUwUYWIqI0PV6Atd57qCX596G6Keg2oQxzTgrzKlBlF4KDltGw4RRARVSWHwrVmct/s1600/3+salidadatos.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;103&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj61MUlwmAwzXqNZ8BRcSWFZVEC5luitXk5189s6aWJJNreu_pkk_h-M7TUi2o2KVcr69GnpU1vPDNhUwUYWIqI0PV6Atd57qCX596G6Keg2oQxzTgrzKlBlF4KDltGw4RRARVSWHwrVmct/s320/3+salidadatos.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_7&quot; o:spid=&quot;_x0000_i1056&quot; type=&quot;#_x0000_t75&quot; alt=&quot;2 salidadatos.png&quot;
 style=&#39;width:382pt;height:123pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image011.png&quot;
  o:title=&quot;2 salidadatos.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
O combinación de datos utilizando el operador + para concatenarlos:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkp4SLMgasVwu4GGz2zYKNxJLsNlgEyC0ql8Bl14IXDCWE-VOlqmm1mmCxXmpU7vGhqSfmO2RhJmFbJd8KfaCuULTQAZHNPl8iNmPHnNNMBB-MyEzNl3gNIE3Y1IGoCaFSIHc_hwQopnil/s1600/4+printdatoscombinados.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;63&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkp4SLMgasVwu4GGz2zYKNxJLsNlgEyC0ql8Bl14IXDCWE-VOlqmm1mmCxXmpU7vGhqSfmO2RhJmFbJd8KfaCuULTQAZHNPl8iNmPHnNNMBB-MyEzNl3gNIE3Y1IGoCaFSIHc_hwQopnil/s320/4+printdatoscombinados.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
y su salida:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl57m38nWc1OlQ-L6vs_Q0vAvvfXAEDT0FfkUG_2XgowEJhr1x0czELxiG6gLp5oeUDMObLnDf9WDLg18jPVIEpZLjwlK0W9hkj6dvnZN7US9x66kLCZRCGvt0sFuiOFrKVxR8XYmlKvx0/s1600/4+salidaprintdatoscombinados.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl57m38nWc1OlQ-L6vs_Q0vAvvfXAEDT0FfkUG_2XgowEJhr1x0czELxiG6gLp5oeUDMObLnDf9WDLg18jPVIEpZLjwlK0W9hkj6dvnZN7US9x66kLCZRCGvt0sFuiOFrKVxR8XYmlKvx0/s320/4+salidaprintdatoscombinados.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;println:&lt;/b&gt; funciona
igual que print solo que incluye un salto de línea tras la cadena
automáticamente.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
System.out.println (“cadena que se va a mostrar”);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_fiKkI7pQlvgqITJcoCdaLbwwJPwjL8c4YRDHKX4t3ZukjcdacUPW42XV6DC-c2m2-60uzGCKdobdyxIDNzqdBOGDepfuiToWrcWRrONCZrIPPJ7UhM63xlwKObpFzUVwkQgYrfi2GKNy/s1600/5+println.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;66&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_fiKkI7pQlvgqITJcoCdaLbwwJPwjL8c4YRDHKX4t3ZukjcdacUPW42XV6DC-c2m2-60uzGCKdobdyxIDNzqdBOGDepfuiToWrcWRrONCZrIPPJ7UhM63xlwKObpFzUVwkQgYrfi2GKNy/s320/5+println.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida es la misma que en el caso del print, solo que no
es preciso indicar el salto de línea ya que se incluye automáticamente.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;printf:&lt;/b&gt; permite
incluir formato en la salida generada utilizando mascarillas de formato: &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
System.out.printf (“cadena con mascarillas”, argumentos);&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Las mascarillas son especificadores de formato que indican
el tipo de dato que se quiere mostrar. Usándolos dentro de una cadena se puede
definir el formato completo de la cadena y la colocación de los datos dentro de
la misma:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Mascarilla&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Tipo de
  dato que representa&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
B, b&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
boolean&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
H, h&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
cadena de
  caracteres en hexadecimal&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
S, s&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
cadena de
  caracteres&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
C, c&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
char&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
d&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
entero&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
o&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
valor
  numérico en octal&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
X, x&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
valor
  entero en hexadecimal&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 8;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
E, e&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
real con notación
  científica&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 9;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
f&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
coma
  flotante&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 10;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
G, g&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
coma
  flotante&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 11;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
A, a&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
coma
  flotante en hexadecimal&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 12; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
T, t&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
formato de
  fecha y hora&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Las mascarillas hay que usarlas con el operador % y tienen
el siguiente formato:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
% [índice] [modificadores] [ancho] [numero_decimales]
mascarilla&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;índice:&lt;/b&gt; número del
argumento que tomará el valor especificado. El primero: 1$, el segundo 2$ y así
sucesivamente. La lista de argumentos se incluye en la parte derecha de la
función printf. &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Si no se indica el
numero de argumento las mascarillas se aplican por orden:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9RTWUFMYBnWN9eVWdm1C1DLRZ67o5SgfgO_vv52vRsU3-fwNikmjvPUij4Ypi4iYpaxuFvnCiZ6jhZQRSRN15RS02aT5F18KgvCJMLaUsC-0AdhVIzIR5EAD0_8bC9eqwZWqr49IDjmFr/s1600/6+1printf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;74&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9RTWUFMYBnWN9eVWdm1C1DLRZ67o5SgfgO_vv52vRsU3-fwNikmjvPUij4Ypi4iYpaxuFvnCiZ6jhZQRSRN15RS02aT5F18KgvCJMLaUsC-0AdhVIzIR5EAD0_8bC9eqwZWqr49IDjmFr/s320/6+1printf.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En este ejemplo la mascarilla %d hace referencia a un número
entero, como no se indica ningún número de argumento se aplicará al primero, la
x. La segunda mascarilla representa un número real. Tampoco se indica número de
argumento por lo que se aplicará al segundo argumento, la y.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida en la consola será la siguiente:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5OntD_lEIyzuUUzNpCGRklp1L4s_OhHAIf8CZJq80eC-Ldjae_oM0joCBvOvKCUl0LeLAJQU6i9PEECc9pF3I1rffH3idqF8Xk4E1SnD0PKqQaJuprJNk3tZrUczVNjicJ2swysYXYPAJ/s1600/6+1printfsalida.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;66&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5OntD_lEIyzuUUzNpCGRklp1L4s_OhHAIf8CZJq80eC-Ldjae_oM0joCBvOvKCUl0LeLAJQU6i9PEECc9pF3I1rffH3idqF8Xk4E1SnD0PKqQaJuprJNk3tZrUczVNjicJ2swysYXYPAJ/s320/6+1printfsalida.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En el siguiente ejemplo se obtiene el mismo resultado pero
incluyendo los índices de los argumentos:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTXQvIq4elWfNMdcqcm9kVC6TtFyuvBSq3UXOqvS-5GS7iGo112n4ek2MjTW9yU8vtFIRo6vMK_6HKQYC0OUnz1kVmdP0UDv7DPtxjwY6g6l1RDezFHRQIw7YOJ7hv61fESqWuXILeMpFS/s1600/6+2printf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;59&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTXQvIq4elWfNMdcqcm9kVC6TtFyuvBSq3UXOqvS-5GS7iGo112n4ek2MjTW9yU8vtFIRo6vMK_6HKQYC0OUnz1kVmdP0UDv7DPtxjwY6g6l1RDezFHRQIw7YOJ7hv61fESqWuXILeMpFS/s320/6+2printf.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Modificadores:&lt;/b&gt; Incluyendo
un + se mostrará el signo. El signo negativo ( - ) siempre se muestra aunque no
se ponga el modificador:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCspOgQyXKYPBA6bhc1XoRwgX4Uo6Mf9urUTJVOgzpR17ZkDBfHUyorPl-nj0ShWApWh_6VcIWRAoqo-VUfDj4-47I3lOB_XWVDRejkjsNg1lcjvLjh7nwCofOmK-iuVf_LkfhCjfDPVnW/s1600/6+3printf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;66&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCspOgQyXKYPBA6bhc1XoRwgX4Uo6Mf9urUTJVOgzpR17ZkDBfHUyorPl-nj0ShWApWh_6VcIWRAoqo-VUfDj4-47I3lOB_XWVDRejkjsNg1lcjvLjh7nwCofOmK-iuVf_LkfhCjfDPVnW/s320/6+3printf.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida de esta instrucción será la siguiente:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi94a3drI-LIDNUd0eB5hyhn9k0-_2Jv02w31rLwdcUMgNI4l0m7he-RefVEnqeqRUYTMPnKaTgJsnc0EglXnbfPTGn6xcCI_tb8Qj3nSw3Zndx7Iapb5qYP6l42xZVB9-UaM5V3PxGC4IX/s1600/6+3printfsalida.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;72&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi94a3drI-LIDNUd0eB5hyhn9k0-_2Jv02w31rLwdcUMgNI4l0m7he-RefVEnqeqRUYTMPnKaTgJsnc0EglXnbfPTGn6xcCI_tb8Qj3nSw3Zndx7Iapb5qYP6l42xZVB9-UaM5V3PxGC4IX/s320/6+3printfsalida.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Ancho:&lt;/b&gt; Número
mínimo de caracteres que se imprimirán. Si el dato los supera no se verá
afectado, si no los alcanza se incluirán espacios en blanco por la izquierda
hasta completarlos:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwNocpCfTyMLtj3_l98QWU1Oxf4O_fQNUv1AcSXYAg0LLuqlC1LKG-C4MZuDeMnhtAM58Kq8n2epKRqA49oYJu9k1vzOnQI0sUXAxiUeq6YqkigCb_ec6cWusA4A3DuFk3JFryOP-JjtSU/s1600/6+4printf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwNocpCfTyMLtj3_l98QWU1Oxf4O_fQNUv1AcSXYAg0LLuqlC1LKG-C4MZuDeMnhtAM58Kq8n2epKRqA49oYJu9k1vzOnQI0sUXAxiUeq6YqkigCb_ec6cWusA4A3DuFk3JFryOP-JjtSU/s320/6+4printf.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida en consola:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJbkuD3nLM51NKvAnIs0ztVxWyW5EFGV55XayV-sy43qBWOb3LwkWmCGtMoFhMUCPWf2ByIYEbzXwohWQZb-1fBbGMFEP2LYgrHEcIsYOQ4lzH0hI4fykPDjEICWYshIkQIQlxmRMqHufT/s1600/6+4printfsalida.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;61&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJbkuD3nLM51NKvAnIs0ztVxWyW5EFGV55XayV-sy43qBWOb3LwkWmCGtMoFhMUCPWf2ByIYEbzXwohWQZb-1fBbGMFEP2LYgrHEcIsYOQ4lzH0hI4fykPDjEICWYshIkQIQlxmRMqHufT/s320/6+4printfsalida.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Numero de decimales:&lt;/b&gt;
Esto solo se puede aplicar a datos con coma flotante.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Indica el numero de decimales que se quieren imprimir. Hay
que escribirlos precedidos por un punto ( . ):&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAp6tQ5ASVf3xBFszpgZCY9-VdRaNVvdwSbONZxJcFf5WzxhTVmU-veRXtu6T-QLhDo0HaxSq-S0Ft7fpukEMF8WWV35GQIEbzv0n7ikO-vjyz0JKbEvPXpNZ2PmhyphenhyphenvMkEqhSoiZto1F2z/s1600/6+5printf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAp6tQ5ASVf3xBFszpgZCY9-VdRaNVvdwSbONZxJcFf5WzxhTVmU-veRXtu6T-QLhDo0HaxSq-S0Ft7fpukEMF8WWV35GQIEbzv0n7ikO-vjyz0JKbEvPXpNZ2PmhyphenhyphenvMkEqhSoiZto1F2z/s1600/6+5printf.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En la salida se puede apreciar que el numero de decimales se
ha reducido:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuGQUwEszhVIYM7fApLK6v0hx0_yXF5DGyNDvoPUkhjWKYQ5pv9vfh5f1Hzn0XPCV55LBCCZgKOuX6olJIzO6AFJ3nGunjj1vARMFyVvnWwAz81uUonlEK6g-SPLr3oEB_ed4hd_o18JJp/s1600/6+5printfsalida.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;68&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuGQUwEszhVIYM7fApLK6v0hx0_yXF5DGyNDvoPUkhjWKYQ5pv9vfh5f1Hzn0XPCV55LBCCZgKOuX6olJIzO6AFJ3nGunjj1vARMFyVvnWwAz81uUonlEK6g-SPLr3oEB_ed4hd_o18JJp/s320/6+5printfsalida.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Todos los formatos se pueden combinar entre si para
conseguir el resultado deseado:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgobKQ70cSL0AjDOfy0eZd44aznySJDQCVjn6f7BiK2l3dO4S4lkpKLy-sZqpG3TH9FB-t40i8NstSYvTScXAE86dQY8vgRve2vIHJ1dOkSAFzpkLknMJZwYPPbBFqlPVVOkK5ajgVHomGq/s1600/6+6printf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;45&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgobKQ70cSL0AjDOfy0eZd44aznySJDQCVjn6f7BiK2l3dO4S4lkpKLy-sZqpG3TH9FB-t40i8NstSYvTScXAE86dQY8vgRve2vIHJ1dOkSAFzpkLknMJZwYPPbBFqlPVVOkK5ajgVHomGq/s320/6+6printf.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Su salida será:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-KtYZxRQdztjFkQ4KJdlKfnxg_bBlKgn0749_1qpfH7iiFqfJvi65jv4K5src1_B2NwaoBW8aXadVIWYeAHn1_sy23XO9CUf8wlfxsd93Kj2fHNhqxuspMQmunwx-jmGgMUFEzoSSytMT/s1600/6+6printfsalida.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;64&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-KtYZxRQdztjFkQ4KJdlKfnxg_bBlKgn0749_1qpfH7iiFqfJvi65jv4K5src1_B2NwaoBW8aXadVIWYeAHn1_sy23XO9CUf8wlfxsd93Kj2fHNhqxuspMQmunwx-jmGgMUFEzoSSytMT/s320/6+6printfsalida.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Existe otra versión de este método:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
System.out.printf (Locale , “cadena con mascarillas”,
argumentos);&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Locale: Activa las características&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;regionales de formato para números y fechas según la región
lingüística. Este objeto lo explicaré más adelante junto con las fechas.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;NOTA:&lt;/b&gt; La clase
PrintStream se está empezando a reemplazar por la clase PrintWriter, ya que
gestiona mejor los caracteres Unicode pero, a pesar de ello, se siguen usando
los métodos de formato de la clase PrintStream sin que el compilador los
identifique como obsoletos (deprecation).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;LECTURA DE DATOS A
TRAVÉS DE LA CONSOLA DEL SISTEMA&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hay dos formas de leer datos de teclado en java. La clásica
consiste en utilizar las clases InputStreamReader y BufferedReader. La otra
forma, más nueva, es usar la clase Scanner. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En ambos casos hay que seguir el paradigma
fuente-flujo-filtro.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Fuente: origen de los datos&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Flujo: medio para transportar los datos&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Filtro: dispositivo de interpretación de los datos&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;InputSreamReader y
BufferedReader&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Al igual que el objeto System.out, existe un objeto
System.in que se crea automáticamente al iniciarse la aplicación e identifica
la consola como periférico de entrada.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En este caso, el objeto System.in será la fuente.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Del flujo de datos se encarga la clase InputStreamReader a
la que se le indicará la fuente (System.in) en el momento de la creación del
objeto correspondiente:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRBWNtn_LluwJzN4BncPpa2n258qrMJTBLuzFReJEukczz_pWX92bCYQF0OOIc53zE-sZbaNnLsJBqffi3BwOfsQKKlQQOuFrqySiI4MqInCa4Gu4ZMsu5is-DCIEfKOuA4_rldxrhR60V/s1600/9+inputStreamReader.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;20&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRBWNtn_LluwJzN4BncPpa2n258qrMJTBLuzFReJEukczz_pWX92bCYQF0OOIc53zE-sZbaNnLsJBqffi3BwOfsQKKlQQOuFrqySiI4MqInCa4Gu4ZMsu5is-DCIEfKOuA4_rldxrhR60V/s400/9+inputStreamReader.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El flujo servirá como argumento para crear el filtro, un
objeto de la clase BufferedReader que será el encargado de recuperar la cadena
que introduce el usuario a través del teclado:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwFsth3wK10QJ7Np3DfFRk73hi6WqXdz4Utlhvy3znzoOJQvA76ktqxHSDh1KLnOJQP62phrrwomkLQXK0gwxVQmYlaz1AkSuijyLcpjFfb7xDb_jY8o8CbViBHEpIyxmj8aNTykHlbeUP/s1600/10+BufferedReader.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;18&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwFsth3wK10QJ7Np3DfFRk73hi6WqXdz4Utlhvy3znzoOJQvA76ktqxHSDh1KLnOJQP62phrrwomkLQXK0gwxVQmYlaz1AkSuijyLcpjFfb7xDb_jY8o8CbViBHEpIyxmj8aNTykHlbeUP/s320/10+BufferedReader.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La clase BufferedReader proporciona un método readLine que recuperara
todo el flujo de información en formato de cadena de caracteres (String):&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikuP7e3gw_8xZEhPiqY1crL0C4CYeldw1iewpLxF24hDZaEctIJQAvUNPyB7yGnGW05AxiHzUtZuBTgr0iCadGmrWJvG4NBZNVbzpWBkzTXkPZ5WAI0pc2z5VEtW8p7zfb_WTwe_eIaUr2/s1600/11+realLine.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikuP7e3gw_8xZEhPiqY1crL0C4CYeldw1iewpLxF24hDZaEctIJQAvUNPyB7yGnGW05AxiHzUtZuBTgr0iCadGmrWJvG4NBZNVbzpWBkzTXkPZ5WAI0pc2z5VEtW8p7zfb_WTwe_eIaUr2/s1600/11+realLine.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En el siguiente ejemplo se le solicita al usuario su nombre.
El objeto BufferedReader recuperará, con el método readLine,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;el flujo de bytes sin formato que se
recoge de la consola a través del objeto InputStreamReader. Posteriormente
transforma este flujo de información en una cadena de caracteres (String) que
se almacena en el objeto nombre. Si se imprime este ultimo objeto con el método
println, se podrá ver en la consola el dato que ha introducido el usuario:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIIdVOu__0hdXgjF58iXBT-Pf_RHvsxH8ZLBHg6GD2lJHtKAxwcKaQV9rumd_mdQm1eJ28n8-6We9rF2yo_pNKqtamjyc6XVXCv9gU8AqkFndFLQke_V5Ggvl8kTCLLhLIJV0jSyIrPUeh/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIIdVOu__0hdXgjF58iXBT-Pf_RHvsxH8ZLBHg6GD2lJHtKAxwcKaQV9rumd_mdQm1eJ28n8-6We9rF2yo_pNKqtamjyc6XVXCv9gU8AqkFndFLQke_V5Ggvl8kTCLLhLIJV0jSyIrPUeh/s400/12.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_26&quot; o:spid=&quot;_x0000_i1037&quot; type=&quot;#_x0000_t75&quot; alt=&quot;12.png&quot;
 style=&#39;width:425pt;height:222pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image049.png&quot;
  o:title=&quot;12.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Comentar un par de cosas más sobre este código. Para poder
usar BufferedReader e InputStreamReader hay que importar el paquete java.io.
Por eso se incluyen estas tres líneas al principio del código:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg31l4yEE4yGkK6UFVxNahetlo7ugkeGU90wF8Z-swFbZCguQmOtZMsTNJXHj9_S6UVgosPv35H1OCXw8X55E3vncanjIs0Hx0ZPU2d5bWwVDv6iugUP3oRXS3uwasf_AWXsDdi9m-kw6T/s1600/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg31l4yEE4yGkK6UFVxNahetlo7ugkeGU90wF8Z-swFbZCguQmOtZMsTNJXHj9_S6UVgosPv35H1OCXw8X55E3vncanjIs0Hx0ZPU2d5bWwVDv6iugUP3oRXS3uwasf_AWXsDdi9m-kw6T/s1600/13.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_31&quot; o:spid=&quot;_x0000_i1036&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Captura de pantalla 2013-03-23 a las 13.21.48.png&quot;
 style=&#39;width:276pt;height:52pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image051.png&quot;
  o:title=&quot;Captura de pantalla 2013-03-23 a las 13.21.48.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
También se pueden reemplazar por esta otra que importaría el
paquete completo y no solo las clases que se van a usar:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXFbS4p8SQsWJpeLvRofMFBbBVG16qITr8erADA0dsyQpNogQc0hJjBR_oBmpS1bgTqjCamBsdbIKnJLV0gHxyc8Uiim3lB_8YgcsH_qJhNePNZV0GPnk9m5nDbYmh80PLzIPZSz3AJywe/s1600/14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXFbS4p8SQsWJpeLvRofMFBbBVG16qITr8erADA0dsyQpNogQc0hJjBR_oBmpS1bgTqjCamBsdbIKnJLV0gHxyc8Uiim3lB_8YgcsH_qJhNePNZV0GPnk9m5nDbYmh80PLzIPZSz3AJywe/s1600/14.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La segunda línea:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjaFEmENYwY88cbchEKAEcdEmPMsh4VP-FWdRfR4Xf-Fp836NQD03BdJmtkg33fzLhoT206_IQj9Cbt1mhAshTKZRiw6k8MDY1-Sh2imI_eN8sm0hVVDY1AIaeYLEpga-ueX8ivYbSu-YO/s1600/15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjaFEmENYwY88cbchEKAEcdEmPMsh4VP-FWdRfR4Xf-Fp836NQD03BdJmtkg33fzLhoT206_IQj9Cbt1mhAshTKZRiw6k8MDY1-Sh2imI_eN8sm0hVVDY1AIaeYLEpga-ueX8ivYbSu-YO/s1600/15.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
y la instrucción throws del main:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_Uj0u-SbABoRMqDb48z97BUurJweH2y3wT3DV84xQ_BhZGKo4KxelXa93POVNGNDWnenZTJQnN5hLoVbmUKjchIY6JcDPSNsofgaCc4OPsaEnepsEsr2rXB6gGnqGcamoEiYjdHztdNfP/s1600/16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_Uj0u-SbABoRMqDb48z97BUurJweH2y3wT3DV84xQ_BhZGKo4KxelXa93POVNGNDWnenZTJQnN5hLoVbmUKjchIY6JcDPSNsofgaCc4OPsaEnepsEsr2rXB6gGnqGcamoEiYjdHztdNfP/s1600/16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
sirven para la gestión de excepciones. Siempre que se
utilice el método readLine será necesario realizar esta operación o el programa
no compilará.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La gestión de excepciones la trataré en profundidad más
adelante.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida de este ejemplo sería: &lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVkHoJSMWuOcbrEO2VthW0vjOPQJFjqfipnIFXlNvWUA-SiOY9zd5e1UIqleFgkq2NwzUghyphenhypheniTpdI4kTePpuPT43QIn757QSHAqTOqQlQaEiiylwXj-xx5eyEW91EHQwdmgXxhBE4Z4wBJ/s1600/17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVkHoJSMWuOcbrEO2VthW0vjOPQJFjqfipnIFXlNvWUA-SiOY9zd5e1UIqleFgkq2NwzUghyphenhypheniTpdI4kTePpuPT43QIn757QSHAqTOqQlQaEiiylwXj-xx5eyEW91EHQwdmgXxhBE4Z4wBJ/s1600/17.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El usuario escribe su nombre:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeJO-82Nf8J-fzYIyU3IBm9Gqbu3jjp_Vs8uz23TN72c5MfwYkYtMSm_ulVp4NcCoNQLAIxPQgurFjZJ1qDHZe2M92XX0fQvuGPYZsiVoPTTE0Bjcrzz_-FoQBBaOHpGWAUocZffViRriQ/s1600/18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeJO-82Nf8J-fzYIyU3IBm9Gqbu3jjp_Vs8uz23TN72c5MfwYkYtMSm_ulVp4NcCoNQLAIxPQgurFjZJ1qDHZe2M92XX0fQvuGPYZsiVoPTTE0Bjcrzz_-FoQBBaOHpGWAUocZffViRriQ/s1600/18.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El programa le saluda:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbiHBq8cw_ojpylJSN1jt4ZmHTogupjqVUSTU1NhUbYVAXeV9n7UszyF-OcqUPeCtWgf-y8rMpnX7rmgkaOXc8Xg7Sp1ziGD34LuJmApvn_876eLijzHVgpYp195uCXrEfvfXy_hEUvQLk/s1600/19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;59&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbiHBq8cw_ojpylJSN1jt4ZmHTogupjqVUSTU1NhUbYVAXeV9n7UszyF-OcqUPeCtWgf-y8rMpnX7rmgkaOXc8Xg7Sp1ziGD34LuJmApvn_876eLijzHVgpYp195uCXrEfvfXy_hEUvQLk/s320/19.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;NOTA:&lt;/b&gt; Si se
quieren leer datos que no sean String, hay que parsearlos utilizando las clases
envoltorio. Como ya dije en el post anterior, las explicaré más adelante.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Scanner&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El otro modo de leer datos de teclado es usando la clase
Scanner. Es mucho más simple de usar ya que no produce excepciones y la
sintaxis es mucho más sencilla.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La fuente de datos sigue siendo System.in, puesto que es el
objeto que identifica la consola pero, tanto el flujo como el filtro son cosa
de Scanner.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipO7JNXDQRfgKl36FiKKUIEFGuelbXFwvfZLzAfdfyR8qiZ6z-WuSO1ZC-wCv6MxzOdlAfDDBATu509WG1I6MirLNxBjrEalmbRmSg0FAEASqi17_fMN-Emc4z86fx1JYzO-paoJo90od9/s1600/20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipO7JNXDQRfgKl36FiKKUIEFGuelbXFwvfZLzAfdfyR8qiZ6z-WuSO1ZC-wCv6MxzOdlAfDDBATu509WG1I6MirLNxBjrEalmbRmSg0FAEASqi17_fMN-Emc4z86fx1JYzO-paoJo90od9/s1600/20.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
En este caso también hay que importar el paquete java.io:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV3fqwUSXoZj16OetvQqCs-8dgMpXPRbc4kmHK1fJpxDh6kKZoSparahntMKQFEkFIMRno8ZPDYZz8GOM-2FlJP-lD_qxKCBMK4ULMklsM5-dn8xHi_6DMpf8dS-xyi0KJRfSJC3rEOlm9/s1600/14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV3fqwUSXoZj16OetvQqCs-8dgMpXPRbc4kmHK1fJpxDh6kKZoSparahntMKQFEkFIMRno8ZPDYZz8GOM-2FlJP-lD_qxKCBMK4ULMklsM5-dn8xHi_6DMpf8dS-xyi0KJRfSJC3rEOlm9/s1600/14.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
O solo la clase Scanner:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6dsYTnLvfSVwZuIe-_38lUoUBfu3qDJFNW1EOTn_A3TYIRuV0DnlNccHxjOeIU2FhS3YOjDd1oe0vcM7vY61B_ZFhwufUW71FCVP7lnnS4GZxuJVSdPJKMFaVkfdgE_K8l2qwkTqke6a6/s1600/21.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6dsYTnLvfSVwZuIe-_38lUoUBfu3qDJFNW1EOTn_A3TYIRuV0DnlNccHxjOeIU2FhS3YOjDd1oe0vcM7vY61B_ZFhwufUW71FCVP7lnnS4GZxuJVSdPJKMFaVkfdgE_K8l2qwkTqke6a6/s1600/21.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Scanner tiene el metodo nextLine que realiza la misma
función que readLine de la clase BufferedReader.:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGigSrxK4kICYDO4VL4qFfckdjQ1C3xXJNpPgIbYQe3IVJjh5FP4D8r3MjfupegEF_t-Y8zwlg-yx2F50Dg00BbeoZfOAmyskfEVLhWKChuTPHXjHUP8c8arYXojUrjdUb7bW6baVqcgu2/s1600/22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGigSrxK4kICYDO4VL4qFfckdjQ1C3xXJNpPgIbYQe3IVJjh5FP4D8r3MjfupegEF_t-Y8zwlg-yx2F50Dg00BbeoZfOAmyskfEVLhWKChuTPHXjHUP8c8arYXojUrjdUb7bW6baVqcgu2/s320/22.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La salida de este programa será la misma que en el caso de
usar BufferedReader y InputStreamReader.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Scanner, además de permitir leer los datos en formato
String, proporciona otros métodos que permiten recuperar la información en
otros formatos:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Metodo&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Dato&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nextByte()&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
byte&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nextShort()&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
entero
  corto&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nextInt()&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
entero&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nextLong()&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
entero
  largo&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nextFloat()&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
punto
  flotante simple precisión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nextDouble()&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
punto
  flotante doble precisión&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nextBoolean()&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
booleano&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Se usan igual que readLine pero cambiando el tipo de la
variable que almacenará la información que se lee:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinp_AqmvHHYISg9LaWnq1ZJQUXCzXCuEjXRle2MfzvrYZJ1k3NCtFRE_ar9V4Sq17n1-EgsJZwBYNYlAsKK3hlJ06vzNmUSGH00yU7SoKBGekGE_0wrjlcRx5CeGBz3CSF-I7qyt5w2TyX/s1600/Captura+de+pantalla+2013-03-23+a+las+15.55.59.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinp_AqmvHHYISg9LaWnq1ZJQUXCzXCuEjXRle2MfzvrYZJ1k3NCtFRE_ar9V4Sq17n1-EgsJZwBYNYlAsKK3hlJ06vzNmUSGH00yU7SoKBGekGE_0wrjlcRx5CeGBz3CSF-I7qyt5w2TyX/s320/Captura+de+pantalla+2013-03-23+a+las+15.55.59.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;!--EndFragment--&gt;</description><link>http://mientrasprogramo.blogspot.com/2013/03/entrada-y-salida-estandar-en-java.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghfLu1a0i8Mn16g3jbkZcjsg4jTYaMXfSX0oC2YMpKHgep_kgkrqqWFeRWedilAZ5i6iDmcEiXge0WYlAHa5uKEaK4kBaLZ6uxz59WhANMJyRNugdXWf4jLe_I0XOYiV3xfnLsavLLK4hL/s72-c/1+print.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-5570920246582559338</guid><pubDate>Thu, 21 Mar 2013 14:56:00 +0000</pubDate><atom:updated>2013-03-23T11:55:28.579+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><title>Tipos de datos y variables en Java</title><description>&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:DocumentProperties&gt;
  &lt;o:Template&gt;Normal.dotm&lt;/o:Template&gt;
  &lt;o:Revision&gt;0&lt;/o:Revision&gt;
  &lt;o:TotalTime&gt;0&lt;/o:TotalTime&gt;
  &lt;o:Pages&gt;1&lt;/o:Pages&gt;
  &lt;o:Words&gt;867&lt;/o:Words&gt;
  &lt;o:Characters&gt;4942&lt;/o:Characters&gt;
  &lt;o:Company&gt;Domestico&lt;/o:Company&gt;
  &lt;o:Lines&gt;41&lt;/o:Lines&gt;
  &lt;o:Paragraphs&gt;9&lt;/o:Paragraphs&gt;
  &lt;o:CharactersWithSpaces&gt;6069&lt;/o:CharactersWithSpaces&gt;
  &lt;o:Version&gt;12.256&lt;/o:Version&gt;
 &lt;/o:DocumentProperties&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves&gt;false&lt;/w:TrackMoves&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:HyphenationZone&gt;21&lt;/w:HyphenationZone&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:DrawingGridHorizontalSpacing&gt;18 pt&lt;/w:DrawingGridHorizontalSpacing&gt;
  &lt;w:DrawingGridVerticalSpacing&gt;18 pt&lt;/w:DrawingGridVerticalSpacing&gt;
  &lt;w:DisplayHorizontalDrawingGridEvery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;
  &lt;w:DisplayVerticalDrawingGridEvery&gt;0&lt;/w:DisplayVerticalDrawingGridEvery&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:DontAutofitConstrainedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
  &lt;/w:Compatibility&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;276&quot;&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;

&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
table.MsoNormalTable
 {mso-style-name:&quot;Tabla normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:&quot;Times New Roman&quot;;
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;}
table.MsoTableGrid
 {mso-style-name:&quot;Tabla con cuadrícula&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 border:solid black;
 mso-border-themecolor:text1;
 border:1.0pt;
 mso-border-alt:solid black;
 mso-border-themecolor:text1;
 mso-border-alt:.5pt;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-border-insideh:.5pt solid black;
 mso-border-insideh-themecolor:text1;
 mso-border-insidev:.5pt solid black;
 mso-border-insidev-themecolor:text1;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;
 mso-fareast-language:EN-US;}
&lt;/style&gt;
&lt;![endif]--&gt;



&lt;!--StartFragment--&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=5274365667849491936&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=5274365667849491936&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=5274365667849491936&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=5274365667849491936&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;TIPOS DE DATOS
PRIMITIVOS&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Datos simples
ordinales (enteros)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Representan los datos enteros sin decimales&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tipo&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tamaño
  (bytes)&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Descripción&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Rango&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
byte&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
byte&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
-128 a 127&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
short&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
2&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
entero corto&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
-32768 a
  32767&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
int&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
4&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
entero&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
-2&lt;sup&gt;31&lt;/sup&gt;
  a 2&lt;sup&gt;31-1&lt;/sup&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
long&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
8&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
entero
  largo&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
2&lt;sup&gt;63&lt;/sup&gt;
  a 2&lt;sup&gt;63-1&lt;/sup&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Ej: 1, 27, 5948272, 435623L&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Los datos long deben incluir una L al final&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Datos simples reales&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Representan los datos con decimales o de punto flotante. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tipo&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tamaño
  (bytes)&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Descripción&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Rango&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
float&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
4&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
real
  simple precisión&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
+-3.4X10&lt;sup&gt;38&lt;/sup&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;a +-1.4x10&lt;sup&gt;45&lt;/sup&gt; &lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
double&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
8&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
real doble
  precisión&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;&quot; style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
+-1.8x10&lt;sup&gt;308&lt;/sup&gt;
  a +-4.9x10&lt;sup&gt;-324&lt;/sup&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Ej: 30.0, 5678.345&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La coma decimal se representa con un punto ( . ), si se
emplea una coma ( , ) no funcionará ya que la coma tiene otra funcionalidad que
ser verá más adelante.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Para poder distinguir un float de un double hay que incluir
las letras F o D al final del numero representado:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Double: 15.05D&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Float: 15.05F&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Por defecto en Java se emplea double por lo que la D no
sería obligatoria.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Los datos reales también se pueden expresar en notación
científica puesto que soportan rangos muy grandes de valores:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1234500000 -&amp;gt; 123.45E+7&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
O lo que es lo mismo: 123.45 x 10&lt;sup&gt;7&lt;/sup&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Datos de tipo
carácter&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Representan caracteres con formato &lt;a href=&quot;http://es.wikipedia.org/wiki/Unicode&quot; target=&quot;_blank&quot;&gt;unicode&lt;/a&gt;. Se representan
entre comillas simples ( ‘ ).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tipo&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tamaño
  (bytes)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Descripción&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Rango&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
char&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
2&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
carácter&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
codificación
  Unicode&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Ej: ‘a’, ‘5’ , ‘-‘, ‘@’&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Existen unos caracteres especiales, o caracteres de control,
no imprimibles que requieren una secuencia de escape representada con una barra
inclinada ( \ ) . Igualmente se escriben entre comillas simples:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Carácter
  especial&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Descripción&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\n’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Salto de línea&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\t’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tabulador&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\b’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Retroceso&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\r’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Retorno de
  carro&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\’’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Comilla
  simple&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\\’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Barra
  inclinada&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\”’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Comilla
  doble&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 8; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
‘\0’&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Carácter
  nulo&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Datos de tipo lógico&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Representan valores lógicos. Estos valores cumplen el
algebra de Bool, de ahí su nombre, y solo pueden tomar valores verdadero (true)
o falso (false).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tipo&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tamaño
  (bytes)&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Descripción&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Rango&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
boolean&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
booleano&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
true o
  false&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;VARIABLES&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Un programa escrito en cualquier lenguaje maneja datos que
son almacenados en memoria e identificados a través de un nombre
simbólico.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;A estos datos se les
llama variables o constantes, dependiendo de si su contenido es variante o
fijo. Los datos almacenados en estas posiciones de memoria pueden ser de
cualquiera de los tipos especificados anteriormente. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Identificadores
validos&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El nombre con el que se identifica una variable se llama
identificador y debe cumplir una serie de normas para que sea valido:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
- Debe empezar por una letra (a-z A-Z) ó por el carácter
subrayado ( _ ) ó por el carácter $.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
- No puede contener espacios.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
- No se pueden usar las palabras reservadas como identificador:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
abstract&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
continue&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
float&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
native&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
super&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
void&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
boolean&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
default&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
for&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
new&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
switch&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
volatile&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
break&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
do&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
goto&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
null&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
synchronized&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
while&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
byte&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
double&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
if&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
package&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
this&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
byteevalue&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
else&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
implements&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
private&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
threadsafe&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
case&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
enum&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
import&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
protected&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
throw&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
catch&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
extends&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
instanceof&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
public&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
throws&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
char&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
false&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
int&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
return&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
transient&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 8;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
class&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
final&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
interface&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
short&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
true&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 9; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
const&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
finally&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
long&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
static&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
try&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
Ej: &lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Identificador&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;Correcto&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
numero&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
si&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
$numero&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
si&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
índice&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
si *&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nombre
  propio&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
no (no se
  pueden usar espacios)&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
nombre_propio&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
si&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
numero&amp;amp;letra&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
no (el
  &amp;amp; no es un carácter valido)&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
miIdentificador&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
si&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 8; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
MiIdentificador&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 215.95pt;&quot; valign=&quot;top&quot; width=&quot;216&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
si *&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
* El uso de tildes y mayúsculas está permitido, pero se
desaconseja. Las tildes pueden dar problemas en algunos sistemas operativos. El
uso de mayúsculas se recomienda para las clases y las constantes. Lo veremos
más adelante.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
NOTA: Java es un lenguaje casesensitive por lo que distingue
identificadores escritos en mayúscula de los que están escritos en minúscula.
No es lo mismo casa que Casa.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Declaración de una
variable&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Para poder usar las variables primero hay que declararlas. Cada
variable se declara una única vez.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La declaración sigue la siguiente sintaxis:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
tipo_de_dato identificador_valido[=inicialización];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El tipo de dato puede ser cualquiera de los existentes en
Java.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El identificador estará definido cumpliendo las reglas expuestas
anteriormente para que sea un identificador valido.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La declaración terminará en punto y coma ( ; ).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036121declaracion.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036121declaracion.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
La inicialización no siempre es obligatoria. En el caso de
inicializar la variable se usará el operador de asignación ( = ) seguido del
valor con el que se desea inicializar la variable. Esta practica no se
recomienda, salvo excepciones.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036134declaracioninicializ.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036134declaracioninicializ.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1028&quot; type=&quot;#_x0000_t75&quot; alt=&quot;DeclaracionInicializacion.png&quot;
 style=&#39;width:231pt;height:123pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image003.png&quot;
  o:title=&quot;DeclaracionInicializacion.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;CONSTANTES&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
Las constantes representan variables que tienen un valor
fijo que no puede modificarse. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Para representar una constante basta con incluir la palabra final
antes de la declaración. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El identificador, por convenio, se escribe en mayúsculas.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
El valor de la constante se suele incluir también en la
declaración ya que no se podrá modificar posteriormente:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
final tipo_de_dato IDENTIFICADOR_VALIDO = inicialización;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036108constante.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036108constante.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Captura de pantalla 2013-03-21 a las 11.23.26.png&quot;
 style=&#39;width:3in;height:34pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image005.png&quot;
  o:title=&quot;Captura de pantalla 2013-03-21 a las 11.23.26.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;CADENAS DE CARACTERES
(STRING)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
Las cadenas de caracteres son conjuntos de caracteres unicode
que se escriben de forma consecutiva entre comillas dobles ( “ ). Al ser
objetos poseen funcionalidades propias para su manejo.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La sintaxis es la siguiente:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
String identificador[=”inicialización”];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_3&quot; o:spid=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; alt=&quot;string.png&quot;
 style=&#39;width:268pt;height:29pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image007.png&quot;
  o:title=&quot;string.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Las explicaré en profundidad más adelante.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036141string.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036141string.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;OBJETOS DE CLASES ENVOLTORIO
(WRAPPERS)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
Todos los tipos de datos primitivos tienen una clase
envoltorio asociada que les confiere funcionalidades más avanzadas. &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Tipo de
  dato primitivo&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Clase
  envoltorio&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
byte&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Byte&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
short&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Short&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
int&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Integer&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
long&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Long&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
float&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Float&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
double&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Double&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
char&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Character&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 8; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
boolean&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
Boolean&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
La sintaxis para definir un objeto de clase de envoltorio es
la siguiente:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Nombre_de_wrapper identificador_valido[=inicialización];&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036142wrappers.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://s2.subirimagenes.com/privadas/previo/thump_2036142wrappers.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;mso-fareast-language: ES-TRAD; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_4&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; alt=&quot;wrappers.png&quot;
 style=&#39;width:183pt;height:124pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file://localhost/Users/SMG/Library/Caches/TemporaryItems/msoclip/0clip_image009.png&quot;
  o:title=&quot;wrappers.png&quot;/&gt;
 &lt;v:textbox style=&#39;mso-rotate-with-shape:t&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;VARIABLES DE
REFERENCIAS&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
Contienen la dirección de memoria de un objeto.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
Un objeto es un bloque de sentencias y datos generado a
partir de una clase.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Estos términos, junto con las cadenas de caracteres y los wrappers,
los explicaré con mayor detalle en otro post.&lt;/div&gt;
</description><link>http://mientrasprogramo.blogspot.com/2013/03/tipos-de-datos-y-variables-en-java_21.html</link><author>noreply@blogger.com (ADA)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-6594903811305741818</guid><pubDate>Thu, 13 Oct 2011 12:17:00 +0000</pubDate><atom:updated>2011-10-13T14:32:52.366+02:00</atom:updated><title>Ha fallecido Dennis Ritchie</title><description>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifyvWNdKHZ9veIAM25ItmP6sgby2ga7JwFFLQWjO4GIuA6Un2J2VcuvFqPGm281afKswzlYxi5dg-LMJECTxIaddw6uqaDb8TCn_ylUKcILoG0LFCmxUpe93XtQBsjkpE1y7utTfI3OL8V/s1600/1970+-+dennis+ritchie.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 309px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifyvWNdKHZ9veIAM25ItmP6sgby2ga7JwFFLQWjO4GIuA6Un2J2VcuvFqPGm281afKswzlYxi5dg-LMJECTxIaddw6uqaDb8TCn_ylUKcILoG0LFCmxUpe93XtQBsjkpE1y7utTfI3OL8V/s400/1970+-+dennis+ritchie.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5662953661854348994&quot; /&gt;&lt;/a&gt;&lt;br /&gt;En 1972 Dennis Ritchie creó el lenguaje de alto nivel C con el que desarrolló posteriormente el sistema operativo Unix junto con Ken Thompson.&lt;div&gt;Podría decirse que Dennis Ritchie fue el padre de la informática moderna puesto que C sirvió como base de otros lenguajes modernos como Java y Unix fué el pie para desarrollar los sistemas operativos actuales.&lt;/div&gt;&lt;div&gt;Richie falleció hoy a los 70 años de edad a causa de una enfermedad.&lt;/div&gt;&lt;div&gt;DEP.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</description><link>http://mientrasprogramo.blogspot.com/2011/10/ha-fallecido-dennis-ritchie.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifyvWNdKHZ9veIAM25ItmP6sgby2ga7JwFFLQWjO4GIuA6Un2J2VcuvFqPGm281afKswzlYxi5dg-LMJECTxIaddw6uqaDb8TCn_ylUKcILoG0LFCmxUpe93XtQBsjkpE1y7utTfI3OL8V/s72-c/1970+-+dennis+ritchie.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-5418498888005283881</guid><pubDate>Thu, 06 Oct 2011 07:43:00 +0000</pubDate><atom:updated>2011-10-06T09:51:52.970+02:00</atom:updated><title>Ha fallecido Steve Jobs</title><description>&lt;div style=&quot;text-align: left;&quot;&gt;Esta mañana al encender mi Mac me he encontrado con esta imagen. Es cierto eso que dicen que una imagen vale más que mil palabras. Se me cortó la respiración al verla.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ws1B2hMr2QWNTF1ZGGOVD_-7_w1yJvuF9oiMqYL4kwyB7BrNOtexqAXBhhQZpgUaBEGB6DYSwyNPPYQIaM5IkkGQOS-woJpo1dQThWyoCT2ivGAbcOPr_XJYqDmoe6hE8lRKMGB80vQZ/s1600/Captura+de+pantalla+2011-10-06+a+las+09.43.11.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ws1B2hMr2QWNTF1ZGGOVD_-7_w1yJvuF9oiMqYL4kwyB7BrNOtexqAXBhhQZpgUaBEGB6DYSwyNPPYQIaM5IkkGQOS-woJpo1dQThWyoCT2ivGAbcOPr_XJYqDmoe6hE8lRKMGB80vQZ/s400/Captura+de+pantalla+2011-10-06+a+las+09.43.11.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5660282202323922658&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 270px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tan solo un día después del lanzamiento del nuevo iphone 4s, Steve Jobs nos deja. Al final el cáncer le venció. &lt;/div&gt;&lt;div&gt;Es una de las pocas personas de las que se podría decir que ha hecho grandes cosas en la vida. Deja un gran legado y una marca muy onda en el mundo de las tecnologías.&lt;/div&gt;&lt;div&gt;Se ha ido un genio. ¿Qué será ahora de Apple sin el?&lt;/div&gt;</description><link>http://mientrasprogramo.blogspot.com/2011/10/ha-fallecido-steve-jobs.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ws1B2hMr2QWNTF1ZGGOVD_-7_w1yJvuF9oiMqYL4kwyB7BrNOtexqAXBhhQZpgUaBEGB6DYSwyNPPYQIaM5IkkGQOS-woJpo1dQThWyoCT2ivGAbcOPr_XJYqDmoe6hE8lRKMGB80vQZ/s72-c/Captura+de+pantalla+2011-10-06+a+las+09.43.11.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-1955430052886192028</guid><pubDate>Sat, 25 Jun 2011 20:07:00 +0000</pubDate><atom:updated>2011-06-25T23:46:10.220+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">BBDD</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Cómo instalar Oracle 10g Express Edition</title><description>&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;A la hora de elegir una base de datos tenemos muchas alternativas: MySQL, Oracle, PostrgreSQL, etc. Como se suele decir, para gustos hay colores.&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;Si alguna vez habeis usado Oracle es posible que hayais tenido dificultades a la hora de instalarla, si no lo habíais hecho nunca antes. Para los que os interese esta base de datos, pero no la hayais usando antes, yo os recomiendo una versión mucho más sencilla, tanto de instalar como de manejar, que es la 10g Express Edition. Evidentemente no es tan profesional como pueden ser otras versionesm ni tan potente, pero si os estais iniciando en este mundillo de las bases de datos y os interesa Oracle, sin duda esta versión es la idónea.&lt;br /&gt;&lt;br /&gt;Para conseguirla os la podeis descargar de la pagina de &lt;a href=&quot;http://www.oracle.es&quot;&gt;Oracle&lt;/a&gt;. Al colocar el cursor sobre la pestaña Downloads se desplegará un menú con todos los productos que Oracle permite descargar clasificados por categorías. Dentro de Bases de Datos encontraremos la que nos interesa.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD9tZdgGkiMLlEcSsJ9qyhbRrsFdn0rSzJvan2HBixg3IQtFjeVujjeWiUUyO23UpiF5SYJ1qEYBmi6K88KZ0qg7OacEeKQpvUHAC9XD9XSYkV3y0ZY1S6h3CqC1x-IMbLG33rW_5aLrPK/s1600/00.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622256403298164946&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD9tZdgGkiMLlEcSsJ9qyhbRrsFdn0rSzJvan2HBixg3IQtFjeVujjeWiUUyO23UpiF5SYJ1qEYBmi6K88KZ0qg7OacEeKQpvUHAC9XD9XSYkV3y0ZY1S6h3CqC1x-IMbLG33rW_5aLrPK/s400/00.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 197px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;En la siguiente pagina os dejará elegir el sistema operativo (Windows o Linux).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7moXjROZou9v_jkxEWE_z_4QJt71pK8I6HOTdz0g52sQGSLrw5G5nOLKZU57Aw2f1TIVbBz-j5MtWKup-P-BhkV6nVIj3RmHVHss0mj779eA4VNWfKskzyhegfmv89lc4kS5iNoYSQQcq/s1600/02.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622257435805542578&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7moXjROZou9v_jkxEWE_z_4QJt71pK8I6HOTdz0g52sQGSLrw5G5nOLKZU57Aw2f1TIVbBz-j5MtWKup-P-BhkV6nVIj3RmHVHss0mj779eA4VNWfKskzyhegfmv89lc4kS5iNoYSQQcq/s400/02.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 171px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tras haber seleccionado la opción apropiada para nuestro sistema tendremos que aceptar el acuerdo de licencia para poder descargarla. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8jdG-yMF9m_RwULuHj4S1a8zrlq_CY4yjW8QMP-CB8ULvwqjjHPBnIPoeeqLS60ASMmCV9Oqxttvm06ndbjgRst7KaQgmLxr5I_YprsCz5KXU9jrfPDA_CPKJCOp3xlRD0jDsAlk9tn7J/s1600/03.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622257521886862818&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8jdG-yMF9m_RwULuHj4S1a8zrlq_CY4yjW8QMP-CB8ULvwqjjHPBnIPoeeqLS60ASMmCV9Oqxttvm06ndbjgRst7KaQgmLxr5I_YprsCz5KXU9jrfPDA_CPKJCOp3xlRD0jDsAlk9tn7J/s400/03.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 111px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Y posteriormente seleccionaremos la base de datos que nos interesa según nuestras necesidades. La primera opción solo está en inglés, la segunda tiene más idiomas (entre ellos el español, está será la que seleccionemos) y la ultima es un cliente para poder acceder a nuestra base de datos desde otras maquinas.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMwbjoLENRycLTvPf1CfAQp24-v0zx4qqTnvKSxiHxO6jX_mAi7OfmDRmewEzwafvRujneIMQ_mQMPZ2_9OL7-7tGwdF_fNWzOk7eUmRM8llo5LC2LchjM93zc1fZkyGj02DduLyPbAVw/s1600/04.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622258085937212706&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMwbjoLENRycLTvPf1CfAQp24-v0zx4qqTnvKSxiHxO6jX_mAi7OfmDRmewEzwafvRujneIMQ_mQMPZ2_9OL7-7tGwdF_fNWzOk7eUmRM8llo5LC2LchjM93zc1fZkyGj02DduLyPbAVw/s400/04.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 189px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Una vez elegida la base de datos llega una parte que no nos suele gustar, pero que Oracle obliga a hacer en todas sus descargas: Registrarnos. Es obligatorio, sino no podremos bajar nada de la pagina de Oracle. Si ya tenéis una cuenta, como es mi caso, no es necesario el registro, bastará con iniciar sesión. Si no la tenéis registraros y después iniciad sesión.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKmnn3Sh_d67Y14lBK1fzH8xT9GDfwzyZ9Vd7BEf7AfU3HN29__QopoSsK1wxU_C-2TCgsoWUOLxVctvk8ZwJOUETzbz798tqAqQs0lQWTBh2dgAt0sI8tXBjW5fAFTuFl_SNQdw2ToCDj/s1600/05.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622258167239960034&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKmnn3Sh_d67Y14lBK1fzH8xT9GDfwzyZ9Vd7BEf7AfU3HN29__QopoSsK1wxU_C-2TCgsoWUOLxVctvk8ZwJOUETzbz798tqAqQs0lQWTBh2dgAt0sI8tXBjW5fAFTuFl_SNQdw2ToCDj/s400/05.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 135px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Una vez iniciada la sesión comenzará automáticamente la descarga. Pulsaremos en guardar para que se descargue en la ubicación que le indiquemos.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQ5QIe3Hn8Kbsz-QuVFp-iOgPZbcZkSs8p_O2xkWC_EWZv66xzyOzlMOeWmHQlHBjwVmvw-u1CAIJ_gKbTew0mL6L-OrDvEsrPtlTVoxbW4xoiix_dRjWqdmphXodoioJw8ObOrMuCO3V/s1600/06.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622258258632864706&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQ5QIe3Hn8Kbsz-QuVFp-iOgPZbcZkSs8p_O2xkWC_EWZv66xzyOzlMOeWmHQlHBjwVmvw-u1CAIJ_gKbTew0mL6L-OrDvEsrPtlTVoxbW4xoiix_dRjWqdmphXodoioJw8ObOrMuCO3V/s400/06.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 251px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tras seleccionar el directorio donde queremos que se guarde comenzará la descarga que tardará algunos minutos&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtpWFytL8XB-IdOM9RhppseSCwuEyhhCWkh6Rc9f4p7MPpzoxafrlgOp15o3jiLMhG_e4zXax7ZiDw2reWPWwaR_Anrdb8UKcL43K351S3QSr-9pTtjoMrwuMUKxtDw-5wffa4IyeKi6WN/s1600/07.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622258340236659362&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtpWFytL8XB-IdOM9RhppseSCwuEyhhCWkh6Rc9f4p7MPpzoxafrlgOp15o3jiLMhG_e4zXax7ZiDw2reWPWwaR_Anrdb8UKcL43K351S3QSr-9pTtjoMrwuMUKxtDw-5wffa4IyeKi6WN/s400/07.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 260px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Una vez descargada, ya podemos comenzar la instalación. Buscamos el archivo que se ha descargado y hacemos doble click en el. Si os ocurre lo que me ha pasado a mi, que no me dejaba abrirlo porque no sabía con que programa asociarlo, cambiadle en nombre y añadir al final .exe, con eso sería suficiente. Después de abrir el archivo pincharemos en ejecutar en la ventana que se nos abre.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4yrisWSciBK-nP_Bkk-oAUZr7CRn3emn4XZRVzteNmJdoZOYSNSCJhHUW5bqe92UOYAuP7mZA1KgdFPr5HgLLVFgitubPgNzgpIJ4-zNXxLZjC5VKhS268aidBlxKaa5Kg_-ulvhALENL/s1600/08.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622261577768602722&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4yrisWSciBK-nP_Bkk-oAUZr7CRn3emn4XZRVzteNmJdoZOYSNSCJhHUW5bqe92UOYAuP7mZA1KgdFPr5HgLLVFgitubPgNzgpIJ4-zNXxLZjC5VKhS268aidBlxKaa5Kg_-ulvhALENL/s400/08.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 294px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Comenzará a cargar el asistente de instalación, tardará unos segundos&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM7PisYRtMAY8COZia0bS-EwjeU3rLGUBBrAAINH9hO8Wg9C8LsxvnGXuH9dg6qNMv284C0wPWzbId2oNTNJVBMVnere9a2DeagzQhOSALVVE3iB4DiTLsiLMDXJZh2snbT4bKqZjOY1ZZ/s1600/09.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622261877123290674&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM7PisYRtMAY8COZia0bS-EwjeU3rLGUBBrAAINH9hO8Wg9C8LsxvnGXuH9dg6qNMv284C0wPWzbId2oNTNJVBMVnere9a2DeagzQhOSALVVE3iB4DiTLsiLMDXJZh2snbT4bKqZjOY1ZZ/s400/09.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 305px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Los pasos para instalar son muy sencillos, prácticamente siguiente, siguiente, siguiente...&lt;/div&gt;&lt;div&gt;La primera ventana que nos aparece es el mensaje de bienvenida al asistente de instalación. Pulsaremos en siguiente.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTSkRxBkyOoX5-68RBHEAzB7Zsne8gPmN9DWkOWkW7zOf6669rm0uPXMpavtpHCYx2nwmYCwFp3SGcVX-GGnF2QOaeUjYzyMtTmUcBkglrFC8n0Uwu3YasK4N0dS0L33Q6rTm9HIyX4ECJ/s1600/10.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622262145414306850&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTSkRxBkyOoX5-68RBHEAzB7Zsne8gPmN9DWkOWkW7zOf6669rm0uPXMpavtpHCYx2nwmYCwFp3SGcVX-GGnF2QOaeUjYzyMtTmUcBkglrFC8n0Uwu3YasK4N0dS0L33Q6rTm9HIyX4ECJ/s400/10.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 307px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Después nos aparecerá el contrato de licencia. Lo aceptaremos y pulsaremos siguiente.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdXadY9PMhXWoEkgaOVKtR3yU9LoSVu8dtIlUPEFcjh2Dx40DaDrZ9-72MFeXvCuki9RlEQ9IczQOafwaFy6ASAyt_iX0Oti1WsOFXrz9rQI9LPrefuMTQs84MciZuqhfoJITxVU0Vxo8R/s1600/11.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622262240417735218&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdXadY9PMhXWoEkgaOVKtR3yU9LoSVu8dtIlUPEFcjh2Dx40DaDrZ9-72MFeXvCuki9RlEQ9IczQOafwaFy6ASAyt_iX0Oti1WsOFXrz9rQI9LPrefuMTQs84MciZuqhfoJITxVU0Vxo8R/s400/11.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 309px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;El siguiente paso es seleccionar el directorio donde queremos instalar Oracle. Podeis dejar por defecto el que viene o poner vostros el que querais. Yo dejaré el que viene por defecto que es C:\oraclexe\. Pulsamos siguiente.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkKjqB27XOqDxPQLV5z21_GdSXSzLjqD-w1SDHo_8cQKo4-xA8E49rl9r-xmt5DgeCoCQujJfVL0WWOreBKHdihQMsRGx8rdegJr0Vw3ftAL_u_LiLOeBrVL2WCFbkr3YpL1mJQbslJ2Pv/s1600/12.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622262351707912690&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkKjqB27XOqDxPQLV5z21_GdSXSzLjqD-w1SDHo_8cQKo4-xA8E49rl9r-xmt5DgeCoCQujJfVL0WWOreBKHdihQMsRGx8rdegJr0Vw3ftAL_u_LiLOeBrVL2WCFbkr3YpL1mJQbslJ2Pv/s400/12.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 305px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Este paso es muy importante, probablemente el más importante de toda la instalación. Aquí debéis elegir una contraseña para el administrador de la base de datos. Elegid una contraseña que luego recordéis puesto que sin ella no podréis conectaros cuando vayáis a usar la base de datos. Recordad que el administrador es SYS o SYSTEM. Tras elegir la contraseña pulsamos siguiente.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJZAuhqBaY1IEUrcBWdn8jmOjy7avI4QsbHChFP8tairhJ0br30W-i46TChlOQPuI3AaDLGQEpifzFF8vtdVln5HhNDvE1AA0mofYw4ntfl9xMwhISs_Km8d8knmDtfTytIDn0N0AOpry6/s1600/13.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622262511975174114&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJZAuhqBaY1IEUrcBWdn8jmOjy7avI4QsbHChFP8tairhJ0br30W-i46TChlOQPuI3AaDLGQEpifzFF8vtdVln5HhNDvE1AA0mofYw4ntfl9xMwhISs_Km8d8knmDtfTytIDn0N0AOpry6/s400/13.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 307px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Antes de comenzar la instalación nos mostrará la información de los puertos necesaria para administrar la base de datos (8080 por defecto) y establecer las conexiones (1521 por defecto). Es posible que el puerto 8080 ya lo esté usando otra aplicación como puede ser un servidor web. Si esto nos llegase a ocurrir podremos cambiarlo. &lt;/div&gt;&lt;div&gt;Pulsamos instalar.&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJZAuhqBaY1IEUrcBWdn8jmOjy7avI4QsbHChFP8tairhJ0br30W-i46TChlOQPuI3AaDLGQEpifzFF8vtdVln5HhNDvE1AA0mofYw4ntfl9xMwhISs_Km8d8knmDtfTytIDn0N0AOpry6/s1600/13.JPG&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYkmiDk9fy5NPqxeZhY3RNsgTz9WbX_Xhkk1s6RV_lhHpuOI6uq-QtUFAtC2sIbnhrNtKUjF1zUCIQ89kwKYye1rrSV7yLpdpfE78Z-i6qDoJC9cFWMnBwLo_Y7m34UrdTgSoGJZdazs4Y/s1600/14.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622262678088091618&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYkmiDk9fy5NPqxeZhY3RNsgTz9WbX_Xhkk1s6RV_lhHpuOI6uq-QtUFAtC2sIbnhrNtKUjF1zUCIQ89kwKYye1rrSV7yLpdpfE78Z-i6qDoJC9cFWMnBwLo_Y7m34UrdTgSoGJZdazs4Y/s400/14.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 307px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#0000EE;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYkmiDk9fy5NPqxeZhY3RNsgTz9WbX_Xhkk1s6RV_lhHpuOI6uq-QtUFAtC2sIbnhrNtKUjF1zUCIQ89kwKYye1rrSV7yLpdpfE78Z-i6qDoJC9cFWMnBwLo_Y7m34UrdTgSoGJZdazs4Y/s1600/14.JPG&quot;&gt;&lt;/a&gt;Comenzará la instalación. No suele tardar mucho, eso ya depende de vuestro ordenador.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbKaMkRInG81cobmfaq4TyXZ60WawwwlGXXRM4jICOthX7imL3uv97GxsAydhSi9433QXJErgodZPPWiV8s2bBANtuW_4i7QCzVmUFjXfLvDwOVVIMaFYlcI0EkA5mj2_TN5YlVss1NA6C/s1600/15.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622262770981577186&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbKaMkRInG81cobmfaq4TyXZ60WawwwlGXXRM4jICOthX7imL3uv97GxsAydhSi9433QXJErgodZPPWiV8s2bBANtuW_4i7QCzVmUFjXfLvDwOVVIMaFYlcI0EkA5mj2_TN5YlVss1NA6C/s400/15.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 309px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Una vez instalado nos aparecerá un mensaje que así lo indique. Si nos fijamos aparece un tick en &lt;i&gt;Iniciar la página inicial de la base de datos&lt;/i&gt;. Podemos dejarlo activado y al dar a terminar se arrancará el explorador donde se abrirá la pagina de administración de la base de datos. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUV7Uy2u5P40KBw7PxqVWXJRWPgFhACzs60ySqjcf8-ZWFwrXfPQYp_e_tTArUSlmm8xvk5ltVdI6FiyYjx50J0h1AUXbI4pM6tVLJyHxpjc69Heeg7Ez1xRN5Sks0dS10w5FCbnchcaa-/s1600/16.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622263324812479170&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUV7Uy2u5P40KBw7PxqVWXJRWPgFhACzs60ySqjcf8-ZWFwrXfPQYp_e_tTArUSlmm8xvk5ltVdI6FiyYjx50J0h1AUXbI4pM6tVLJyHxpjc69Heeg7Ez1xRN5Sks0dS10w5FCbnchcaa-/s400/16.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 400px; display: block; height: 307px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Siempre que necesitemos realizar alguna tarea de administración tendremos que abrir esta página en el explorador. Podremos acceder a ella escribiendo http://localhost:8080 y una vez en ella podremos entrar con el usuario SYSTEM y la contraseña que configuramos durante la instalación de Oracle. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUV7Uy2u5P40KBw7PxqVWXJRWPgFhACzs60ySqjcf8-ZWFwrXfPQYp_e_tTArUSlmm8xvk5ltVdI6FiyYjx50J0h1AUXbI4pM6tVLJyHxpjc69Heeg7Ez1xRN5Sks0dS10w5FCbnchcaa-/s1600/16.JPG&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv8WrS0YDbZAbvTw5e5xGFEWZYdD3E5gIfbYg6om55gLBOh4RUMKGl3YtXxLxr6uZq77SQILhVA8WTP1X4ZzPL9zRg6wqi4WWvkcVgS0Ec815ybW9OxYBQv5NTX_5gXXO-_3v7o0kRsUBW/s1600/17.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5622264062383915714&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv8WrS0YDbZAbvTw5e5xGFEWZYdD3E5gIfbYg6om55gLBOh4RUMKGl3YtXxLxr6uZq77SQILhVA8WTP1X4ZzPL9zRg6wqi4WWvkcVgS0Ec815ybW9OxYBQv5NTX_5gXXO-_3v7o0kRsUBW/s400/17.JPG&quot; style=&quot;text-align: center; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; width: 326px; display: block; height: 267px; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;En un post posterior os explicaré con más detalle la administración de la base de datos.&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://mientrasprogramo.blogspot.com/2011/06/como-instalar-oracle-10g-express.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD9tZdgGkiMLlEcSsJ9qyhbRrsFdn0rSzJvan2HBixg3IQtFjeVujjeWiUUyO23UpiF5SYJ1qEYBmi6K88KZ0qg7OacEeKQpvUHAC9XD9XSYkV3y0ZY1S6h3CqC1x-IMbLG33rW_5aLrPK/s72-c/00.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-4086305996275175287</guid><pubDate>Fri, 06 May 2011 17:55:00 +0000</pubDate><atom:updated>2011-06-12T20:28:07.913+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">GlassFish</category><category domain="http://www.blogger.com/atom/ns#">Internet</category><category domain="http://www.blogger.com/atom/ns#">Servidores web</category><title>Cómo configurar un objeto DataSource con GlassFish</title><description>&lt;div style=&quot;text-align: left;&quot;&gt;Si estáis trabajando con aplicaciones web con servlets y bases de datos os puede resultar muy útil usar con contenedor de datos. En posts anteriores os expliqué como utilizar el Apache Tomcat. Existen otros contenedores como Weblogic de Oracle o GlassFish, entre otros.&lt;/div&gt;&lt;p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;En esta ocasión explicaré como configurar un Objeto DataSource con GlassFish server 3, que será muy útil a la hora de utilizar bases de datos en nuestra aplicación web.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Para acceder a la consola de administración* de GlassFish basta con escribir en el explorador: http://localhost:4848 (El puerto 4848 es el que se asigna por defecto cuando se instala, si lo habéis cambiado tendréis que poner el que definieseis).&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Os aparecerá algo como esto:&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6KWjNL9d7UyQWUDvJBGeUzAGZK_2zaUVKeahdz7YDC073mWoy9GCzhweDonrSS5irZhI6PHsyfktobbv0Qs26BIigCF5PfTOiBpFUCbW7GWNB6a702oIuQl2Ll5TQpL8gg6ReX1xm0kgu/s1600/Captura+de+pantalla+2011-05-06+a+las+20.00.51.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6KWjNL9d7UyQWUDvJBGeUzAGZK_2zaUVKeahdz7YDC073mWoy9GCzhweDonrSS5irZhI6PHsyfktobbv0Qs26BIigCF5PfTOiBpFUCbW7GWNB6a702oIuQl2Ll5TQpL8gg6ReX1xm0kgu/s400/Captura+de+pantalla+2011-05-06+a+las+20.00.51.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603664882033240514&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 192px; &quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div&gt;En la parte izquierda aparece un menú con todas las opciones de administrador que ofrece GlassFish. En nuestro caso nos interesa configurar un recurso nuevo (un objeto DataSource) que usaremos con el API JDBC de Java por lo que seleccionaremos Recursos y dentro JDBC. Nos aparecerán dos directorios: Recursos JDBC y Conjunto de conexiones:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgucFkBLQY8-hd-EFc5tisfoiURkPFlrWAq36yz2FUwnrw0OOMUmIYfB-aHhXkDqUfvsaamKKJARIO_CYIpnInmGpeCgeAk5LyWrHN6I-SXQNISBes0NNDRSlQoKUNP5YuwUp7e0s1G4dmg/s1600/Captura+de+pantalla+2011-05-06+a+las+20.04.04.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgucFkBLQY8-hd-EFc5tisfoiURkPFlrWAq36yz2FUwnrw0OOMUmIYfB-aHhXkDqUfvsaamKKJARIO_CYIpnInmGpeCgeAk5LyWrHN6I-SXQNISBes0NNDRSlQoKUNP5YuwUp7e0s1G4dmg/s400/Captura+de+pantalla+2011-05-06+a+las+20.04.04.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603665981249308946&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 269px; height: 91px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Conjunto de conexiones&lt;/b&gt;&lt;/div&gt;&lt;div&gt;El primer paso es crear un Conjunto de conexiones nuevo, por lo tanto seleccionaremos el segundo directorio. Nos aparecerán en el lado derecho todos los conjuntos de conexiones configurados en el servidor:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj07UacLO0gmjqWZdpdgIEx58HzcnPqZG4TREeFMtfmWmqThMZiU2zvXtx6tFeV9fotohlE6A4E9xxY8DAdMX1WFrH2Sy2t8IxzUEMhnIIysN1isnFzUN-def_OghzUhRYrwds77oC2kjm8/s1600/Captura+de+pantalla+2011-05-06+a+las+20.10.46.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj07UacLO0gmjqWZdpdgIEx58HzcnPqZG4TREeFMtfmWmqThMZiU2zvXtx6tFeV9fotohlE6A4E9xxY8DAdMX1WFrH2Sy2t8IxzUEMhnIIysN1isnFzUN-def_OghzUhRYrwds77oC2kjm8/s400/Captura+de+pantalla+2011-05-06+a+las+20.10.46.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603667544691482386&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 95px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Para crear una nueva pulsamos en &lt;i&gt;Nuevo...&lt;/i&gt; Nos aparecerá el primer paso de la configuracion:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNFWRChp-U7XwyoPw32f9RKBOPyMLH_T6-NE2wzM0Ep7y-XZ3hampdh6zj1wcMOoi7pDt6cZKZ0spSyn1dUfk6RLyEvcTB60WAqBX3ntjwTlD1Ip3eq03poNhn6IzQ6QjsjFH8hCSuJNDC/s1600/Captura+de+pantalla+2011-05-06+a+las+20.14.23.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNFWRChp-U7XwyoPw32f9RKBOPyMLH_T6-NE2wzM0Ep7y-XZ3hampdh6zj1wcMOoi7pDt6cZKZ0spSyn1dUfk6RLyEvcTB60WAqBX3ntjwTlD1Ip3eq03poNhn6IzQ6QjsjFH8hCSuJNDC/s400/Captura+de+pantalla+2011-05-06+a+las+20.14.23.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603668306616452898&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 148px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;En el campo nombre escribiremos el nombre que queramos darle al conjunto de conexiones y que más tarde usaremos para inicializar el DataSource.&lt;/div&gt;&lt;div&gt;En el Tipo de recurso seleccionaremos javax.sql.DataSource&lt;/div&gt;&lt;div&gt;Y por ultimo el Proveedor de la base de datos será el que vayamos a usar para nuestra aplicación web (Ej: Oracle, MySql, Postgresql, etc.)&lt;/div&gt;&lt;div&gt;Una vez fijados los campos, en la esquina superior derecha pincharemos en Siguiente y nos aparecerá el paso 2 para continuar con la configuración del conjunto de conexiones:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Configuración general:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdvKj3ivoLHTqa2kvxcjWvVzNv_UnQYmJ9-QN3d-G7N05nWJ7oqnFH7GlB1eJGJEXpedasecgHpo7VuVksKlpdPuoAt5nLYhgimyJbLYnGDuGwR4nhfaDd0CsECoIiH7cbD5NUBXTtBt2B/s1600/Captura+de+pantalla+2011-05-06+a+las+20.24.19.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdvKj3ivoLHTqa2kvxcjWvVzNv_UnQYmJ9-QN3d-G7N05nWJ7oqnFH7GlB1eJGJEXpedasecgHpo7VuVksKlpdPuoAt5nLYhgimyJbLYnGDuGwR4nhfaDd0CsECoIiH7cbD5NUBXTtBt2B/s400/Captura+de+pantalla+2011-05-06+a+las+20.24.19.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603670859578302418&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 188px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000000;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdvKj3ivoLHTqa2kvxcjWvVzNv_UnQYmJ9-QN3d-G7N05nWJ7oqnFH7GlB1eJGJEXpedasecgHpo7VuVksKlpdPuoAt5nLYhgimyJbLYnGDuGwR4nhfaDd0CsECoIiH7cbD5NUBXTtBt2B/s1600/Captura+de+pantalla+2011-05-06+a+las+20.24.19.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Activaremos el Ping y lo demás quedará como está.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Configuración del conjunto:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEvh5DAHw1TioofNGQv6IAUfL0J8hpKh9lZLDeniuj70BKZooDPMSF0nLSEDW14HZ41VX3rt2K9KRLNtsBXjjhjh8GVM5bl9fkpQU7v3WirobI7T3VAIC0wNt3fNSw42S0CjeflVHyFNmx/s1600/Captura+de+pantalla+2011-05-06+a+las+20.26.07.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEvh5DAHw1TioofNGQv6IAUfL0J8hpKh9lZLDeniuj70BKZooDPMSF0nLSEDW14HZ41VX3rt2K9KRLNtsBXjjhjh8GVM5bl9fkpQU7v3WirobI7T3VAIC0wNt3fNSw42S0CjeflVHyFNmx/s400/Captura+de+pantalla+2011-05-06+a+las+20.26.07.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603671480432300706&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 186px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Dejaremos los valores por defecto.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Transacción:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd9__Q8pIIHe-CpmTHjtjQ5c0OlrHAD0KxewR33aGwVI8Iogm0KlYhAzp1xLTbEMBkqzj5cCy3qTi0_VneZnTrYFPFPll0noqpCD8e6zB9dEqqTiYe-iEryEdkEBifHLxBZpYhX_2taj1p/s1600/Captura+de+pantalla+2011-05-06+a+las+20.28.11.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd9__Q8pIIHe-CpmTHjtjQ5c0OlrHAD0KxewR33aGwVI8Iogm0KlYhAzp1xLTbEMBkqzj5cCy3qTi0_VneZnTrYFPFPll0noqpCD8e6zB9dEqqTiYe-iEryEdkEBifHLxBZpYhX_2taj1p/s400/Captura+de+pantalla+2011-05-06+a+las+20.28.11.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603672055919381666&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 131px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;También dejaremos la configuración por defecto.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Propiedades adicionales:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;El ultimo apartado nos servirá para indicar los datos de conexión con nuestra base de datos. Este paso se puede hacer de diferentes formas y funcionaría a la perfección. Os voy a contar dos alternativas:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Rellenar campos de la url por separado:&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Para establecer una conexión con nuestra base de datos nos hacen falta tres cosas: url de la base de datos, el usuario y la contraseña. La url está compuesta por una serie de elementos (puerto, servidor, base de datos, etc.) que variarán en función de la base de datos que usemos (oracle, mysql, etc.). Si no conocemos o no sabemos como escribir la url pero si conocemos la información de la que está compuesta bastará con indicarle a GlassFish ésta información por separado.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXDRGWJgIT3M-JT-_T73aZ0PVUdahbA3D-nnR5-30V3qrV6UiRKI09mQ58C-q5ewLeTHBTNxZCn27LEGfcZNc-PJDKBguIr-7pSdp1TDc3vvQf12LhYj4sb0qDRbX64H4t2bKgx6glAFP_/s1600/Captura+de+pantalla+2011-06-12+a+las+19.44.50.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXDRGWJgIT3M-JT-_T73aZ0PVUdahbA3D-nnR5-30V3qrV6UiRKI09mQ58C-q5ewLeTHBTNxZCn27LEGfcZNc-PJDKBguIr-7pSdp1TDc3vvQf12LhYj4sb0qDRbX64H4t2bKgx6glAFP_/s400/Captura+de+pantalla+2011-06-12+a+las+19.44.50.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5617392329547440962&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 99px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Rellenar la url completa:&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Si conocemos la url o sabemos como definirla, en lugar de incluir los elementos por separado podemos pulsar en agregar propiedad (en el caso de que no exista la propiedad url) y añadirla junto con los campos user y password.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAIOKImVP8zt2uMatQLf_gdAaJXXIHvRiOkMgDk1sNO1NnBoMTVgdUTeLv1sYeWIbRwA2Y4Z1iYsIUK6s1ryIV3X7xihXUyV56-6O-Nnt44s6oHdkWK5GD3eKfLt7OWlqanP9fkGX3-jbK/s1600/Captura+de+pantalla+2011-06-12+a+las+20.02.12.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAIOKImVP8zt2uMatQLf_gdAaJXXIHvRiOkMgDk1sNO1NnBoMTVgdUTeLv1sYeWIbRwA2Y4Z1iYsIUK6s1ryIV3X7xihXUyV56-6O-Nnt44s6oHdkWK5GD3eKfLt7OWlqanP9fkGX3-jbK/s400/Captura+de+pantalla+2011-06-12+a+las+20.02.12.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5617395542682411986&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 70px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Puede que GlassFish os añada propiedades adicionales a las anteriormente citadas. En principio no serían necesarias por lo que las podéis eliminar.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Una vez hecho todo esto le damos a finalizar y nos creará el conjunto de conexiones que aparecerá en la lista con todos los demás. Para comprobar si lo hemos configurado bien basta con abrirlo pinchando en el y el la pestaña General pinchamos en Sondeo. Si todo ha ido bien deberá aparecer el pensaje &quot;Ping realizado con exito&quot;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFACzChr9vD0RcYhNJbyqolFRPNyo9tqQ776u0ZhItA7KdP-_57T4jSAhfb3taT29UscP4MMgpYtP8LGHNUS2I_m7pBZ0p4JP5FcEcAi1T9jYx0e5o1-CliZ6jfoxQcrILwwiuNWbmElHl/s1600/Captura+de+pantalla+2011-06-12+a+las+20.05.55.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFACzChr9vD0RcYhNJbyqolFRPNyo9tqQ776u0ZhItA7KdP-_57T4jSAhfb3taT29UscP4MMgpYtP8LGHNUS2I_m7pBZ0p4JP5FcEcAi1T9jYx0e5o1-CliZ6jfoxQcrILwwiuNWbmElHl/s400/Captura+de+pantalla+2011-06-12+a+las+20.05.55.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5617396689083519122&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 168px; &quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Recurso JDBC&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Llegados a éste punto ya tenemos el DataSource creado. Ahora nos tendremos que crear un recurso JDBC para poder usarlo desde nuestra aplicación. Para ello entraremos en el menú de la parte izquierda mencionado anteriormente entraremos en Recursos JDBC.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgucFkBLQY8-hd-EFc5tisfoiURkPFlrWAq36yz2FUwnrw0OOMUmIYfB-aHhXkDqUfvsaamKKJARIO_CYIpnInmGpeCgeAk5LyWrHN6I-SXQNISBes0NNDRSlQoKUNP5YuwUp7e0s1G4dmg/s1600/Captura+de+pantalla+2011-05-06+a+las+20.04.04.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgucFkBLQY8-hd-EFc5tisfoiURkPFlrWAq36yz2FUwnrw0OOMUmIYfB-aHhXkDqUfvsaamKKJARIO_CYIpnInmGpeCgeAk5LyWrHN6I-SXQNISBes0NNDRSlQoKUNP5YuwUp7e0s1G4dmg/s400/Captura+de+pantalla+2011-05-06+a+las+20.04.04.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603665981249308946&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 269px; height: 91px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Seleccionaremos &lt;i&gt;Nuevo..&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIXXcDitVPckJqyv1pKW6NU12X2Ji-3q7ZJ3q0eaKtuCelHEYA6HrMVXBgMClNzsyNHXPivJxrydIRgYmxQ0iqakZkINfQ3zccnNDUr279OuwyguhIc_qvKScjNb8SulG9eD7YXeNw78Vk/s1600/Captura+de+pantalla+2011-06-12+a+las+20.10.55.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIXXcDitVPckJqyv1pKW6NU12X2Ji-3q7ZJ3q0eaKtuCelHEYA6HrMVXBgMClNzsyNHXPivJxrydIRgYmxQ0iqakZkINfQ3zccnNDUr279OuwyguhIc_qvKScjNb8SulG9eD7YXeNw78Vk/s400/Captura+de+pantalla+2011-06-12+a+las+20.10.55.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5617397584456816322&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 134px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Para crear el nuevo recurso son necesarios dos simples pasos:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Primero le pondremos nombre al recurso (Nombre JNDI) con la siguiente sintaxis: jdbc/nombreDataSource&lt;/div&gt;&lt;div&gt;nombreDataSource tendrá que ser el del DataSource creado en el apartado anterior.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;El segundo paso es indicar el nombre del conjunto de conexiones, que será el de nuestro DataSource.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;El resto de campos que aparecen los dejaremos por defecto como están.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ_X6dIaPJWS0yEDfK59mNbUWpb3z7jpXQBa_pqhoiFwDzz_iCpkaQgGj_3fQELvzfuME5g9cSu52cO082Zn3JB5EEr3FBh6hDon53S5YCa4DLADb8ww7S62Hd0iIz5hPixkp_mTS99VAr/s1600/Captura+de+pantalla+2011-06-12+a+las+20.14.17.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ_X6dIaPJWS0yEDfK59mNbUWpb3z7jpXQBa_pqhoiFwDzz_iCpkaQgGj_3fQELvzfuME5g9cSu52cO082Zn3JB5EEr3FBh6hDon53S5YCa4DLADb8ww7S62Hd0iIz5hPixkp_mTS99VAr/s400/Captura+de+pantalla+2011-06-12+a+las+20.14.17.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5617398704465990770&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 160px; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Y ya está. Ya tenemos un DataSource configurado y listo para usar en nuestras aplicaciones web con java y servlets.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#666666;&quot;&gt;*NOTA: Para poder acceder a la consola de administración previamente tendréis que haber arrancado GlassFish&lt;/span&gt;&lt;/p&gt;  &lt;!--EndFragment--&gt;</description><link>http://mientrasprogramo.blogspot.com/2011/05/como-configurar-un-objeto-datasource.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6KWjNL9d7UyQWUDvJBGeUzAGZK_2zaUVKeahdz7YDC073mWoy9GCzhweDonrSS5irZhI6PHsyfktobbv0Qs26BIigCF5PfTOiBpFUCbW7GWNB6a702oIuQl2Ll5TQpL8gg6ReX1xm0kgu/s72-c/Captura+de+pantalla+2011-05-06+a+las+20.00.51.png" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-8114085736613534005</guid><pubDate>Thu, 24 Feb 2011 11:02:00 +0000</pubDate><atom:updated>2013-03-29T13:30:15.458+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ensamblador</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Como usar MASM y debug</title><description>&lt;div style=&quot;text-align: left;&quot;&gt;
El Microsoft Macro Assembler (MASM) es el ensamblador de Microsoft para la familia de microprocesadores x86. Este ensamblador fue pensado para sistemas de 16 y 32 bits, no se desarrollaron dos aplicaciones separadas para estos sistemas. Más tarde se desarrollaron versiones que permitían crear aplicaciones para Windows, pero la versión que os voy a explicar yo solo sirve para MS-DOS. A nivel académico es una buena opción.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Para todo el tutorial usaré el código del programa suma.asm que muestro a continuación. Podéis bajarlo desde &lt;a href=&quot;https://mega.co.nz/#!DQ9DwbAA!ABxNwluUhF1wbMJ4HocLoXT3sZBJOcRMNyj0mBX3zgw&quot; target=&quot;_blank&quot;&gt;aquí&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy3Riy8dLfam_OaSXzg9mnMXWxL2q9DO-psl1WWIrZt1P2xqHg2HDv6u-XbuII18sG3myZsBJIEpNOWRvsbix2HirnGIIQ-VOR6d3G_yJ0w1keDuPboJDYST4Z0qptvvoZfxFnx1dEO0cL/s1600/01.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5577214108714841730&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy3Riy8dLfam_OaSXzg9mnMXWxL2q9DO-psl1WWIrZt1P2xqHg2HDv6u-XbuII18sG3myZsBJIEpNOWRvsbix2HirnGIIQ-VOR6d3G_yJ0w1keDuPboJDYST4Z0qptvvoZfxFnx1dEO0cL/s400/01.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 400px; margin: 0px auto 10px; text-align: center; width: 184px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Este programa suma dos vectores de hexadecimales y guarda el resultado en otro vacío.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Antes de empezar podéis descargaros el MASM &lt;a href=&quot;https://mega.co.nz/#!7Usw0KLR!HxLq-nekRfFxqW2hZHd27x3qbEJ1m_E3TD-MfEKDoKU&quot; target=&quot;_blank&quot;&gt;aquí&lt;/a&gt; y descomprimir los dos archivos ejecutables (MASM.EXE y LINK.EXE) en el mismo directorio donde guardéis el código .asm.&lt;/div&gt;
&lt;!--EndFragment--&gt;   &lt;/div&gt;
&lt;div&gt;
&lt;b&gt;MASM&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Entramos en el directorio donde esté nuestro fichero .asm (en nuestro caso suma.asm) y el ensamblador (MASM.EXE y LINK.EXE)&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7LnbMYcP45kX5O_s6HYY1OF7tXjJK_1KtkXGXTX50jD5L8ewX1fqajQgWz4qdOa8v1SeT0MN38oAxlHgT2ZyXsWM_CE290XjJNnF8UabLItn6MTVuGHuXrYBJYH53bb4W-avZSlGUjCw/s1600/02.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579792930730951778&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7LnbMYcP45kX5O_s6HYY1OF7tXjJK_1KtkXGXTX50jD5L8ewX1fqajQgWz4qdOa8v1SeT0MN38oAxlHgT2ZyXsWM_CE290XjJNnF8UabLItn6MTVuGHuXrYBJYH53bb4W-avZSlGUjCw/s400/02.jpg&quot; style=&quot;cursor: pointer; display: block; height: 203px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt; &lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Una vez ahi, procedemos a ensamblar el archivo con la herramienta MASM escribiendo en la linea de comandos masm &lt;nombre asm=&quot;&quot; fichero=&quot;&quot;&gt; (para nuestro ejemplo masm suma.asm)&lt;/nombre&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
A continuación nos pedirá el nombre del fichero .obj, por defecto se llamará igual que el fichero .asm (le damos a intro porque queremos que se llame igual)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg56kLsOCWTxlXSmae2-Tg_K_CR639e-9aDmiCfpzc8BDjIS_MzKWZYr6vlfj62eGDpYCsszu6LvG0cLYRCS7d43kn3vmA-G1mKu6Bxyzp3AzIeNIubQp6V_yMNL3cEIN03B_R2_27-qIFu/s1600/03.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579793251904593106&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg56kLsOCWTxlXSmae2-Tg_K_CR639e-9aDmiCfpzc8BDjIS_MzKWZYr6vlfj62eGDpYCsszu6LvG0cLYRCS7d43kn3vmA-G1mKu6Bxyzp3AzIeNIubQp6V_yMNL3cEIN03B_R2_27-qIFu/s400/03.jpg&quot; style=&quot;cursor: pointer; display: block; height: 203px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Le volveremos a dar dos veces más a intro puesto que nos pedirá otras dos cosas que nos interesan. Si todo ha ido bien el ensamblado nos devolverá 0 errores y 0 warnings (los warnings en ensamblador también son errores por lo que no puede haber ninguno) y se generará el código .obj en el mismo directorio en el que estamos.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAWzjIafQCo_bA_0J_akocFwc3-qExAaf2MQXjjoqkolYsfCb5i9FqRb3IWypU9V4Xuoyz2cga4lnGIuE9MiTwSce4ZaoSarryPinEpT1gZakUl9SCIYmsfcwZFUiAM6eK13ZV5BmUklY3/s1600/04.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579793567770692082&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAWzjIafQCo_bA_0J_akocFwc3-qExAaf2MQXjjoqkolYsfCb5i9FqRb3IWypU9V4Xuoyz2cga4lnGIuE9MiTwSce4ZaoSarryPinEpT1gZakUl9SCIYmsfcwZFUiAM6eK13ZV5BmUklY3/s400/04.jpg&quot; style=&quot;cursor: pointer; display: block; height: 203px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Una vez que hemos ensamblado hay que linkar el código .obj que se habrá generado en el paso anterior. Para ellos usaremos la herramienta LINK escribiendo en la línea de comandos link &lt;archivo obj=&quot;&quot;&gt; (en nuestro caso link suma.obj). Nos pedirá el nombre del archivo .exe que nos generará (por defecto nos pondrá el mismo nombre que el .obj, en nuestro caso suma.exe). Como queremos que se llame igual simplemente le damos a intro.&lt;/archivo&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNClgQ0z4gV7ABwfMyqJa6BsHacDb3nq_VJaqw3uUS1RdEwiJKnLEtrIPGRj4I5l8SbkBMNpBWMNzGJNKWUsvRWI42p1aBM4Z2AQGYSHjMBjs9JhgUSdFYWYXCQgMR2ezWXWqxHm3SCUq7/s1600/05.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579793691406904546&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNClgQ0z4gV7ABwfMyqJa6BsHacDb3nq_VJaqw3uUS1RdEwiJKnLEtrIPGRj4I5l8SbkBMNpBWMNzGJNKWUsvRWI42p1aBM4Z2AQGYSHjMBjs9JhgUSdFYWYXCQgMR2ezWXWqxHm3SCUq7/s400/05.jpg&quot; style=&quot;cursor: pointer; display: block; height: 203px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
A continuación le volveremos a dar otras dos veces a intro puesto que nos volverá a pedir otras dos cosas que no nos interesan.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw3UZHsv5dHVsfJDYvR7zLI3Dusquu_UzmiVZBVA21cae3cbHcjyFTaR7pnRZCamyfioGX2MSMgnk6dxoUcGOKPnM1-YrazBXpojjHSda0tR0us-oqzqkOBfEJ8medJ1AGMQYO8m032_XE/s1600/06.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579793886144249730&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw3UZHsv5dHVsfJDYvR7zLI3Dusquu_UzmiVZBVA21cae3cbHcjyFTaR7pnRZCamyfioGX2MSMgnk6dxoUcGOKPnM1-YrazBXpojjHSda0tR0us-oqzqkOBfEJ8medJ1AGMQYO8m032_XE/s400/06.jpg&quot; style=&quot;cursor: pointer; display: block; height: 204px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Una vez que hemos terminado el linkado se habrá generado el archivo .exe. para ejecutarlo simplemente escribimos el nombre del archivo en la línea de comandos (suma.exe). En nuestro caso no se mostrará nada por pantalla puesto que el ejemplo suma.asm solo suma vectores y no imprime nada por pantalla.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Con esto no sabemos con seguridad si ha salido todo bien o no, lo que tenemos que hacer es usar la herramienta DEBUG de MS-DOS.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt; &lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;DEBUG&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Para comprobar si el ensamblado y linkado han salido bien utilizaremos el debuger de MS-DOS escribiendo en la línea de comandos debug &lt;nombre del=&quot;&quot; exe=&quot;&quot; fichero=&quot;&quot;&gt; (en nuestro caso: debug suma.exe). Después de darle a intro nos aparecerá un guión para que pulsemos una de las opciones del debuger.&lt;/nombre&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXW5ocDI-rW3uS4rme_0qWVRFz4_qwSG8JnP5fqBqoCjUJKEnzsefgPSS-9GTMR0hUd2BuQDwq_5w23SZgl8MZueYEBbD2mON6EIg9S6xOKVorHyAIfF42cI-nuiI_YyeVPb-PKaJ3yfb-/s1600/07.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579793973180808274&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXW5ocDI-rW3uS4rme_0qWVRFz4_qwSG8JnP5fqBqoCjUJKEnzsefgPSS-9GTMR0hUd2BuQDwq_5w23SZgl8MZueYEBbD2mON6EIg9S6xOKVorHyAIfF42cI-nuiI_YyeVPb-PKaJ3yfb-/s400/07.jpg&quot; style=&quot;cursor: pointer; display: block; height: 204px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
si escribimos ? y pulsamos intro nos aparecerá el menú con todas las opciones que nos permite el debuger. Las que nos interesan son t, g y q. A continuación las veremos con más detalle.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHH8KqmhfGU2hYovPm-qpp_dvRSPO5VycSm5o64J7pNIdy1wM0hJZ7Lz6OqgXpNgxW5U-bcFfoILfDMueWyeoaNX6YwlNRXKc-2JINw1EhmM6ibDB-oQSeqDOcKZhW5u1anfgozhVEnwz9/s1600/08.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579794074181350338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHH8KqmhfGU2hYovPm-qpp_dvRSPO5VycSm5o64J7pNIdy1wM0hJZ7Lz6OqgXpNgxW5U-bcFfoILfDMueWyeoaNX6YwlNRXKc-2JINw1EhmM6ibDB-oQSeqDOcKZhW5u1anfgozhVEnwz9/s400/08.jpg&quot; style=&quot;cursor: pointer; display: block; height: 204px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Si elegimos t ejecutará una instrucción de nuestro código .asm mostrando el estado de todos los registros del microprocesador 8086 antes de la ejecución de la misma. Cada vez que pongamos t ejecutara una instrucción por orden mostrando el estado de los registros antes de la misma, es decir, el estado de los registros de la instrucción anterior. Es recomendable tener el código delante para asegurarnos que hace lo que queremos y darnos cuanta de lo que está mal en caso contrario.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif3aWyB7AOzyCU-NmUhhOP4vzLEvGTavi9xMtb3PhEIL5hxjEBgO4wHaksYyObDRWtPklXScBB6GRRHN8XC5VKT8MS75cizeF8gmrK0jMtTCucOWfkgcgrOu242uTeqhmHicXDVU2CIvHp/s1600/09.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579794160294020450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif3aWyB7AOzyCU-NmUhhOP4vzLEvGTavi9xMtb3PhEIL5hxjEBgO4wHaksYyObDRWtPklXScBB6GRRHN8XC5VKT8MS75cizeF8gmrK0jMtTCucOWfkgcgrOu242uTeqhmHicXDVU2CIvHp/s400/09.jpg&quot; style=&quot;cursor: pointer; display: block; height: 204px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Si queremos ejecutar más de una instrucción a la vez y ver sus registros pulsaremos t seguida de un numero (en la imagen siguiente he pulsado t3)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT60Ni-QfZwW6ugmvDqjmaEfUb36gCfXJBrni6ACcDQzN7pJnWZanNSAe97f5S_EKeHtj6T-hbaqv-_ubr__N8Z1hFanLp8MAU-MVdWfaWzXC1hpvdqR6eOCWDzorTuwlKrd3OE3F5VsH8/s1600/10.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579794225235020514&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT60Ni-QfZwW6ugmvDqjmaEfUb36gCfXJBrni6ACcDQzN7pJnWZanNSAe97f5S_EKeHtj6T-hbaqv-_ubr__N8Z1hFanLp8MAU-MVdWfaWzXC1hpvdqR6eOCWDzorTuwlKrd3OE3F5VsH8/s400/10.jpg&quot; style=&quot;cursor: pointer; display: block; height: 212px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Si queremos terminar la ejecución de nuestro programa pulsaremos g. Esto terminará las instrucciones que quedan pero no mostrará el contenido de los registros. Si todo va bien nos mostrará un mensaje: &quot;El programa ha terminado de forma normal&quot;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdKI-BuNtnXMh_GHVGobWeL8MwLiM3PEqZBck3FddqtKzGRnxfXJHTLDGPZD8twINJNYyHW4gLDoRpT-1SHDWuaGedyVYNalf2OuV_90FBWOS9i5hUmewTWwoSHqspO7wQmZYILPy1p9cS/s1600/11.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579794293649116418&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdKI-BuNtnXMh_GHVGobWeL8MwLiM3PEqZBck3FddqtKzGRnxfXJHTLDGPZD8twINJNYyHW4gLDoRpT-1SHDWuaGedyVYNalf2OuV_90FBWOS9i5hUmewTWwoSHqspO7wQmZYILPy1p9cS/s400/11.jpg&quot; style=&quot;cursor: pointer; display: block; height: 212px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Para salir del debuguer pulsaremos q y volveremos a la línea de comandos de MS-DOS&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNcKqP7wLSunl_fByh9lmiIQUMOHOG-boBHphULBwaxnZJtBG8m9pdNdkHWoWCrDr6K6_uJlPDkoVfzieAp2ToVx0o6LRlfM98yV8l33uidO9zklhXe2TZgKpzwW0I6LnkAi-7RwA_-fEw/s1600/12.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579794371054337362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNcKqP7wLSunl_fByh9lmiIQUMOHOG-boBHphULBwaxnZJtBG8m9pdNdkHWoWCrDr6K6_uJlPDkoVfzieAp2ToVx0o6LRlfM98yV8l33uidO9zklhXe2TZgKpzwW0I6LnkAi-7RwA_-fEw/s400/12.jpg&quot; style=&quot;cursor: pointer; display: block; height: 206px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Como ya expliqué anteriormente podremos ejecutar nuestro programa escribiendo en la línea de comandos suma.exe&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Mz5rYT2Yn2ZmvQS_6vaVt6dSwyFfpMv2Oq-C7B4b-UkIO9HLsl9Z5OieyZCNGniVHmBcExyY4E84C7SppEnmJbTN4Ecs8wAE9U8uB-1uP3fFs_tQVDZyagQqz2kAa3IMWmQFV6d93A-j/s1600/13.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5579794435337702818&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Mz5rYT2Yn2ZmvQS_6vaVt6dSwyFfpMv2Oq-C7B4b-UkIO9HLsl9Z5OieyZCNGniVHmBcExyY4E84C7SppEnmJbTN4Ecs8wAE9U8uB-1uP3fFs_tQVDZyagQqz2kAa3IMWmQFV6d93A-j/s400/13.jpg&quot; style=&quot;cursor: pointer; display: block; height: 205px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://mientrasprogramo.blogspot.com/2011/02/como-usar-masm-y-debug.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy3Riy8dLfam_OaSXzg9mnMXWxL2q9DO-psl1WWIrZt1P2xqHg2HDv6u-XbuII18sG3myZsBJIEpNOWRvsbix2HirnGIIQ-VOR6d3G_yJ0w1keDuPboJDYST4Z0qptvvoZfxFnx1dEO0cL/s72-c/01.jpg" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-1540194824006892724</guid><pubDate>Sun, 23 Jan 2011 00:03:00 +0000</pubDate><atom:updated>2011-01-23T01:58:15.568+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><title>Cómo se usa el paso por valor y por referencia en C</title><description>Retomando el post anterior, os voy a explicar como se usan funciones en C.&lt;div&gt;Como ya dije en el post anterior, una función se compone de dos partes (cabecera y cuerpo) que más o menos expliqué en el post anterior, pero queda aclarar un &quot;pequeño&quot; detalle bastante importante.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Parámetros formales&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;Como ya explique, las funciones puedes recibir parámetros en el momento de la llamada. Estos parámetros son variables de algún tipo definido en C.&lt;/div&gt;&lt;div&gt;Hay dos formas de pasar parámetros a una función, bien pasando el valor de la variable o bien pasando la dirección de memoria de la misma. A estas formas de pasar parametros se las conoce como paso por valor y paso por referencia respectivamente.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Paso por valor&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;En el paso por valor se pasa directamente el valor con el que queremos trabajar, en este caso solo se tendrá acceso a dicho valor y en el caso de cambiarlo dentro de la función, al terminar esta y volver al punto del programa desde donde se invocó, la variable que se pasó como parámetro no se habrá modificado.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int suma (int a, int b){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;a=4;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;return a+b;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;La función &lt;b&gt;suma&lt;/b&gt; recibe dos parámetros de tipo int y devuelve la suma de ambos, que también es un dato de tipo int (se especifica al principio de la cabecera).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;void main(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int a=2;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int b=3;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;printf(&quot;%d&quot;,a);                  &lt;/span&gt;-&gt; ¿Cuánto vale a?&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;printf(&quot;%d&quot;, suma(a,b)); &lt;/span&gt;-&gt;¿Cuál es el resultado devuelto por suma?&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;printf(&quot;%d&quot;,a);                  &lt;/span&gt;-&gt; ¿Cuánto vale a?&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;En la función main se declaran dos variables enteras &lt;b&gt;a&lt;/b&gt; y &lt;b&gt;b&lt;/b&gt; con valores 2 y 3 respectivamente.&lt;/div&gt;&lt;div&gt;En el primer printf se imprime el valor de &lt;b&gt;a&lt;/b&gt; que, como no ha sido modificada desde su inicialización, será 2.&lt;/div&gt;&lt;div&gt;En la siguiente linea se imprime el valor retornado por la función &lt;b&gt;suma&lt;/b&gt; definida antes. Si analizamos la función &lt;b&gt;suma&lt;/b&gt; veremos que el valor de &lt;b&gt;a&lt;/b&gt; se ha cambiado, por lo que la función devolverá 4+3 (o lo que es lo mismo, 7).&lt;/div&gt;&lt;div&gt;En la última linea se muestra de nuevo el valor de &lt;b&gt;a&lt;/b&gt; pero, ¿cuál es? Dentro de la función &lt;b&gt;suma&lt;/b&gt; se modificó el valor y esto afectó a la operación pero, una vez que la función termina y volvemos al lugar de la llamada ese cambio deja de tener efecto sobre &lt;b&gt;a&lt;/b&gt; ya que se le pasó a &lt;b&gt;suma&lt;/b&gt; por valor, por lo que el valor de &lt;b&gt;a&lt;/b&gt; sigue siendo el mismo que cuando se inicializó: 2.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Paso por referencia&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;En el paso por referencia lo que recibe la función ya no es un valor, sino una dirección de memoria. &lt;/div&gt;&lt;div&gt;Veamos el ejemplo anterior.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int suma (int *a, int *b){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;*a=4;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;return *a+*b; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Si os fijáis, hay una pequeña variación con respecto a la función &lt;b&gt;suma&lt;/b&gt; anterior. Ahora los parámetros tienen un *. Esto significa que son punteros (se verán con mas detalle).&lt;/div&gt;&lt;div&gt;Al pasar punteros las modificaciones que se realicen dentro de la función permanecerán cuando esta termine y retorne al lugar de la llamada, porque ahora lo que se está modificando no es el valor, sino el contenido de la dirección de memoria donde apunta el puntero. Pero ¿qué pasa si se quita el *?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int suma (int *a, int *b){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;a=4;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;return a+b; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Si no pusiésemos el * lo que estamos haciendo es modificar las direcciones de memoria de las variables, lo que producirá resultados inesperados. El * nos indica que accedemos al contenido de la dirección de memoria, es decir, al valor de la variable. Hay que tener mucho cuidado con esto.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;void main(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int a=2;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int b=3;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;printf(&quot;%d&quot;,a);                       &lt;/span&gt;-&gt; ¿Cuánto vale a?&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;printf(&quot;%d&quot;, suma(&amp;amp;a,&amp;amp;b)); &lt;/span&gt;-&gt;¿Cuál es el resultado devuelto por suma?&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;printf(&quot;%d&quot;,a);                       &lt;/span&gt;-&gt; ¿Cuánto vale a?&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;En la llamada a la función también hay una pequeña variación. Hay que incluir un &amp;amp; antes de los parámetros pasados por referencia. Al poner el &amp;amp; lo que estamos haciendo es pasar la dirección de memoria de la variable. De este modo la salida por pantalla será la siguiente:&lt;/div&gt;&lt;div&gt;En el primer printf se mostrará un 2, que es el valor de inicialización de &lt;b&gt;a&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;En el segundo printf se mostrará el valor retornado por la función &lt;b&gt;suma&lt;/b&gt;: 7&lt;/div&gt;&lt;div&gt;El ultimo printf mostrará de nuevo el valor de &lt;b&gt;a&lt;/b&gt; pero, en este caso, el valor habrá cambiado puesto que en la función se modificó, y al pasar &lt;b&gt;a&lt;/b&gt; por referencia, el cambio se hace permanente, por lo tanto esa linea imprimirá un 4.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;NOTA&lt;/b&gt;: Los arrays siempre se pasan por referencia por lo que no hay que especificarlo poniendo * y &amp;amp; (más adelante se explicará con más detalle).&lt;/div&gt;</description><link>http://mientrasprogramo.blogspot.com/2011/01/como-se-usa-el-paso-por-valor-y-por.html</link><author>noreply@blogger.com (ADA)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-456163187390603326</guid><pubDate>Sat, 11 Dec 2010 12:07:00 +0000</pubDate><atom:updated>2010-12-11T18:17:33.046+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">Principiante</category><title>Primeros pasos en C</title><description>&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;Porque todos hemos sido novatos en esto de la programación, este post va dirigido a todos los que están empezando a programar y están un poco perdidos.&lt;div&gt;El lenguaje C, es un lenguaje de alto nivel creado en 1972 para implementar sistemas operativos, aunque no creo que ninguno de vosotros tenga intención de usarlo para eso ^^&lt;/div&gt;&lt;div&gt;Antes de ponernos a programar como locos, hay que tener en cuenta una serie de cosas:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;&lt;b&gt;El compilador&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Es un programa que necesitaremos para transformar nuestro código fuente (el programa que haremos en C) a código maquina (el lenguaje que entiende nuestro ordenador).&lt;/div&gt;&lt;div&gt;Existen muchos compiladores, la elección depende de vosotros (bueno y de vuestro sistema operativo, pero eso como cualquier programa).&lt;/div&gt;&lt;div&gt;Yo usaré el gcc de mi Mac OS X, es decir, compilare mediante comandos con el terminal.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;&lt;b&gt;La estructura de un programa en C&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Una vez que hemos elegido la herramienta de desarrollo que usaremos, ahora es cuando podemos empezar a programar, pero no al tun tun. Primero tendremos que saber que es lo que vamos a hacer y para ello lo primero es conocer la estructura que tiene un programa en C.&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Directivas del preprocesador&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Son una colección de instrucciones especiales que se ejecutan al principio de la compilación.&lt;/div&gt;&lt;div&gt;Las mas habituales son:&lt;/div&gt;&lt;div&gt;&lt;b&gt;#include:&lt;/b&gt; incluir ficheros de cabecera&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Existentes en el compilador: #include &amp;lt nombreFich.h&amp;gt &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;#include &amp;lt stdio.h&amp;gt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Existentes en el directorio actual (pueden ser ficheros propios): #include &quot;nombreFich.h&quot;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;#include &quot;misFunciones.h&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;#define:&lt;/b&gt; definir constantes&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;#define identificador valor&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;#define pi 3.1416&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border=&quot;1&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;table border=&quot;1&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;NOTA: Un identificador valido es una secuencia de letras, números y subrayado que siempre empieza por letra. Distingue entre mayúsculas y minúsculas. Se aplica esta norma tanto a constantes, como a variables, nombres de funciones, etc.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Declaraciones globales&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Declaraciones accesibles desde cualquier punto del programa. Pueden ser variables o prototipos de funciones.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Variables&lt;/b&gt;: Representan información que varía durante la ejecución, de ahí su nombre&lt;/div&gt;&lt;div&gt;tipoDato idVariable nombre=valor;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int numero=10;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;No es obligatorio inicializarlas en la declaración:&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int numero;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;Tipos de datos simples:&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;- Enteros:&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;int: -32768 - 32767&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;unsigned int: 0 - 65535&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;short int: -128 - 127&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;long: -2147483648 - 2147483647&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;unsigned long: 0 - 4294967295&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;- Reales&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;float: 3.4 x 10^-38 - 3.4 x 10^38 (precision 7 digitos)&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;double: 1.7x10^-308 - 1.7x10^308 (precision 15 digitos)&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;long double: 3.4x10^-4932 - 3.4x10^4932 (precision 19 digitos)&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;- Caracteres&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;char: 0 - 255&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;- Lógicos &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;Verdadero o falso: se representa con un dato de tipo int (1:verdadero, 0:falso)&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Prototipos de funciones&lt;/b&gt;: Son las cabeceras de las funciones (ver &lt;i&gt;Declaración de otras funciones&lt;/i&gt;) seguidas de ;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Función main&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Punto de entrada al programa. Solo puede haber una.&lt;/div&gt;&lt;div&gt;void main()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;//bloque de sentencias&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;void: significa que no devuelve nada.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Otra forma de escribir la función main es esta:&lt;/div&gt;&lt;div&gt;int main()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;//bloque de sentencias&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;r&lt;/span&gt;eturn 0;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;en este caso main devuelve un int por lo que al final del método habrá que hacer un return (ver &lt;i&gt;Declaración de otras funciones&lt;/i&gt;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Declaración de otras funciones&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Las funciones son conjuntos de sentencias que realizan una función. Mejoran la legibilidad, depuración y mantenimiento de los programas.&lt;/div&gt;&lt;div&gt;Las funciones tienen dos partes: cabecera (corresponde con el prototipo) y cuerpo.&lt;/div&gt;&lt;div&gt;tipoDevuelto idFuncion (parametrosFormales)//cabecera de la función&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;//aqui empieza el cuerpo&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;//sentencias&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;return expresion;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Una función termina cuando se encuentra un return, si no hay return termina cuando acaba el cuerpo.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Tipo devuelto&lt;/b&gt;: puede ser cualquiera de los tipos fundamentales explicados anteriormente. Si no devuelve nada se usa void. . Para devolver un valor a la función se usa return.&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int suma ()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;return expresion; //el tipo de la expresión tiene que coincidir con el tipo devuelto&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;void suma()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Identificador&lt;/b&gt;: debe cumplir las restricciones de los identificadores expuestas anteriormente.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Parámetros formales&lt;/b&gt;: Son opcionales, puede que la función no reciba nada en la llamada. En el caso de que se pongan, hay que especificar el tipo de cada uno de ellos.&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;int suma (int a, int b)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Las funciones las explicaré con más detalle en post futuros.&lt;/div&gt;</description><link>http://mientrasprogramo.blogspot.com/2010/12/primeros-pasos-en-c.html</link><author>noreply@blogger.com (ADA)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-6031801547116367926</guid><pubDate>Tue, 07 Dec 2010 16:10:00 +0000</pubDate><atom:updated>2010-12-11T20:01:28.247+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apache</category><category domain="http://www.blogger.com/atom/ns#">Internet</category><category domain="http://www.blogger.com/atom/ns#">Mac OS X</category><category domain="http://www.blogger.com/atom/ns#">Servidores web</category><category domain="http://www.blogger.com/atom/ns#">Tomcat</category><title>Cómo compilar y ejecutar un servlet en Tomcat</title><description>&lt;div style=&quot;text-align: left;&quot;&gt;Si os fue bien la instalación y &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;configuración&lt;/span&gt; de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;Tomcat&lt;/span&gt; en &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;Mac&lt;/span&gt; OS X ha llegado el momento de programar un &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;servlet&lt;/span&gt;.&lt;/div&gt;Estoy segura que hay montones de herramientas para hacerlo, pero después de haberme pegado con unas cuantas y ver que los resultados no eran muy buenos, os voy a contar cual es la solución más fácil que he encontrado y que por supuesto funciona.&lt;br /&gt;Antes de empezar, para los que no lo sepan, un &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;servlet&lt;/span&gt; es una clase en java que necesita un contenedor de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;servlets&lt;/span&gt; para funcionar. Puede que así dicho no quede muy claro. Si pensáis en el típico proyecto en java, solo necesitáis compilarlo y ya estaría listo para su ejecución. Un &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;servlet&lt;/span&gt;, en cambio, después de su compilación necesita un contenedor de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_7&quot;&gt;servlets&lt;/span&gt; (en nuestro caso &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_8&quot;&gt;Tomcat&lt;/span&gt;) para poder ser ejecutado, y eso es lo que yo os voy a explicar hoy, como compilar esa clase java y ejecutarla después desde &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_9&quot;&gt;Tomcat&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Lo primero de todo (después de instalar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_10&quot;&gt;Tomcat&lt;/span&gt; y &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_11&quot;&gt;configurarlo&lt;/span&gt;) es crear un directorio donde colocar los &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_12&quot;&gt;servlets&lt;/span&gt;. &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_13&quot;&gt;Tomcat&lt;/span&gt; tiene, dentro de su directorio &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_14&quot;&gt;raiz&lt;/span&gt;, un directorio llamado &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_15&quot;&gt;webapps&lt;/span&gt; (/usr/local/apache-tomcat-6.0.29/webapps). Ahí es donde crearemos nuestros &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_16&quot;&gt;servlets&lt;/span&gt;, pero no podemos ponerlos de cualquier forma, es importante que cumplan una estructura determinada, sino &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_17&quot;&gt;Tomcat&lt;/span&gt; no los reconocerá. La estructura que tendrá nuestro directorio de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_18&quot;&gt;servlets&lt;/span&gt; será la siguiente:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQGOLs8HvO8ozV8ETcKCsDe-yQlGJkTeMLLawGZeoZwhly87QLcPhYiV5XB_SyAIJFAw71yg1G07QTa8jz2DE9osNSr2GcHz6bzT7fgCuwfrbFR9a6jYaSLt5kZ1M49M3B52hIWb0lJ3FO/s1600/Captura+de+pantalla+2010-12-07+a+las+17.58.06.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 160px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQGOLs8HvO8ozV8ETcKCsDe-yQlGJkTeMLLawGZeoZwhly87QLcPhYiV5XB_SyAIJFAw71yg1G07QTa8jz2DE9osNSr2GcHz6bzT7fgCuwfrbFR9a6jYaSLt5kZ1M49M3B52hIWb0lJ3FO/s400/Captura+de+pantalla+2010-12-07+a+las+17.58.06.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547985886626227314&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;&lt;b&gt;Proyecto:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;El proyecto será el directorio que &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_19&quot;&gt;contedrá&lt;/span&gt;, como su nombre indica, todo el proyecto. Es un directorio que crearemos dentro de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_20&quot;&gt;webapps&lt;/span&gt; y por supuesto lo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_21&quot;&gt;podéis&lt;/span&gt; llamar como &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_22&quot;&gt;queráis&lt;/span&gt;. Si lo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_23&quot;&gt;hacéis&lt;/span&gt; mediante la consola bastará con &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_24&quot;&gt;escribir&lt;/span&gt; esta linea:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_25&quot;&gt;mkdir&lt;/span&gt; /usr/local/apache-tomcat-6.0.29/webapps/tutoriales&lt;br /&gt;&lt;br /&gt;Como &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_26&quot;&gt;podéis&lt;/span&gt; ver yo lo he llamado &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_27&quot;&gt;tutoriales&lt;/span&gt;.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_28&quot;&gt;Aquí&lt;/span&gt; dentro &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_29&quot;&gt;podéis&lt;/span&gt; poner paginas &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_30&quot;&gt;estáticas&lt;/span&gt; (html) o paginas &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_31&quot;&gt;dinámicas&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_32&quot;&gt;JSP&lt;/span&gt;, pero nada más, los &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_33&quot;&gt;servlets&lt;/span&gt; irán en otro sitio.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_34&quot;&gt;WEB&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_35&quot;&gt;INF&lt;/span&gt;:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Este directorio hay que crearlo dentro de nuestro proyecto, contendrá otro subdirectorio &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_36&quot;&gt;classes&lt;/span&gt; con todos los &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_37&quot;&gt;servlets&lt;/span&gt; y el fichero &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_38&quot;&gt;web&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_39&quot;&gt;xml&lt;/span&gt; que luego explicaré con detalle lo que es.&lt;br /&gt;Para crear &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_40&quot;&gt;WEB&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_41&quot;&gt;INF&lt;/span&gt; bastará con escribir en la consola:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_42&quot;&gt;mkdir&lt;/span&gt; /usr/local/apache-tomcat-6.0.29/webapps/tutoriales/WEB-INF&lt;br /&gt;&lt;br /&gt;e &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_43&quot;&gt;inmediatamente&lt;/span&gt; podemos crear el directorio &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_44&quot;&gt;classes&lt;/span&gt; que contendrá los &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_45&quot;&gt;servlets&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_46&quot;&gt;mkdir&lt;/span&gt; /usr/local/apache-tomcat-6.0.29/webapps/tutoriales/WEB-INF/classes&lt;br /&gt;&lt;br /&gt;Una vez hecho, &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_47&quot;&gt;prácticamente&lt;/span&gt; tenemos la estructura de nuestro proyecto, ahora empezaremos a programar. Yo he optado por usar el editor vi como os explique en post anteriores, pero &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_48&quot;&gt;podéis&lt;/span&gt; usar el que &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_49&quot;&gt;queráis&lt;/span&gt;.&lt;br /&gt;Crearemos nuestro primer &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_50&quot;&gt;servlet&lt;/span&gt; que será el típico hola mundo y tendrá extensión .java:&lt;br /&gt;Nos movemos al directorio del proyecto por comodidad:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_51&quot;&gt;cd&lt;/span&gt; /usr/local/apache-tomcat-6.0.29/webapps/tutoriales&lt;br /&gt;&lt;br /&gt;y creamos el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_52&quot;&gt;servlet&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;vi &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_53&quot;&gt;HolaMundo&lt;/span&gt;.java&lt;br /&gt;&lt;br /&gt;Tened cuidado con el nombre que le dais ya que tiene que coincidir con el nombre de la clase java que vamos a implementar dentro del &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_54&quot;&gt;servlet&lt;/span&gt; (java &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_55&quot;&gt;distingue&lt;/span&gt; entre &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_56&quot;&gt;mayúsculas&lt;/span&gt; y &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_57&quot;&gt;minúsculas&lt;/span&gt;)&lt;br /&gt;El contenido de nuestro &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_58&quot;&gt;servlet&lt;/span&gt; será el siguiente:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkIoT-KouzPLGlT5v0OwHsiccUoTZARQ9uh-5FmWtrb9dbMANRznOsH5GCJc_Pz4cTgl4h1zlPYZzYW8hdBHYCz8TSbcCCJs97n8VxiXdIhRF3Xa9OURluSWgqWCrohG7Q69IyyLDjJvP3/s1600/Captura+de+pantalla+2010-12-11+a+las+19.53.08.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 299px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkIoT-KouzPLGlT5v0OwHsiccUoTZARQ9uh-5FmWtrb9dbMANRznOsH5GCJc_Pz4cTgl4h1zlPYZzYW8hdBHYCz8TSbcCCJs97n8VxiXdIhRF3Xa9OURluSWgqWCrohG7Q69IyyLDjJvP3/s400/Captura+de+pantalla+2010-12-11+a+las+19.53.08.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5549500228308041026&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Guardamos y cerramos pulsando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_59&quot;&gt;esc&lt;/span&gt; :&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_60&quot;&gt;wq&lt;/span&gt;&lt;br /&gt;Una vez guardado el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_61&quot;&gt;servlet&lt;/span&gt; hay que compilarlo utilizando el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_62&quot;&gt;api&lt;/span&gt; para &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_63&quot;&gt;servlets&lt;/span&gt; incluido en &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_64&quot;&gt;Tomcat&lt;/span&gt; (que se encuentra en la ruta /usr/local/apache-tomcat-6.0.29/lib/servlet-api.jar), para ello escribimos la siguiente linea:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_65&quot;&gt;javac&lt;/span&gt; -&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_66&quot;&gt;classpath&lt;/span&gt; /usr/local/apache-tomcat-6.0.29/lib/servlet-api.jar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_67&quot;&gt;HolaMundo&lt;/span&gt;.java&lt;br /&gt;&lt;br /&gt;Tras compilar, si todo ha ido bien, se generará un archivo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_68&quot;&gt;HolaMundo&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_69&quot;&gt;class&lt;/span&gt; que contendrá el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_70&quot;&gt;servlet&lt;/span&gt; ya compilado. Este archivo hay que cambiarlo al directorio &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_71&quot;&gt;classes&lt;/span&gt; que creamos dentro de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_72&quot;&gt;WEB&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_73&quot;&gt;INF&lt;/span&gt;. Si lo hacéis por consola, basta con escribir esta linea:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_74&quot;&gt;mv&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_75&quot;&gt;HolaMundo&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_76&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_77&quot;&gt;classes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_78&quot;&gt;web&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_79&quot;&gt;xml&lt;/span&gt;:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Si &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_80&quot;&gt;habéis&lt;/span&gt; llegado hasta aquí ya casi tenemos el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_81&quot;&gt;servlet&lt;/span&gt; listo para ejecutarlo en &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_82&quot;&gt;Tomcat&lt;/span&gt;, lo único que nos queda es indicarle al servidor donde se encuentran los &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_83&quot;&gt;servlets&lt;/span&gt;, para ellos crearemos dentro de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_84&quot;&gt;WEB&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_85&quot;&gt;INF&lt;/span&gt; un archivo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_86&quot;&gt;xml&lt;/span&gt; con la siguiente estructura:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#0000EE;&quot;&gt;&lt;u&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSSL1nuNiJZPQQt2fRYzo-Y2U_-G44dHMVXUoyssod8eIA4T3RA_RIbHkJAu9w8_rI5sOXRvulMfP2bHLlLM3zGLJF9Qei3AgVLZoFjhxJPOIht6pq4hcf4ldMTjhzGXqD-n6hMCsVENeS/s400/Captura+de+pantalla+2010-12-11+a+las+19.59.17.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5549501588248102610&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 330px; height: 400px; &quot; /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_87&quot;&gt;display&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_88&quot;&gt;name&lt;/span&gt;: Nombre &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_89&quot;&gt;identificativo&lt;/span&gt; para todos los &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_90&quot;&gt;servlets&lt;/span&gt; del documento&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_91&quot;&gt;description&lt;/span&gt;: Una &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_92&quot;&gt;descripción&lt;/span&gt; de los &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_93&quot;&gt;servlets&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_94&quot;&gt;servlet&lt;/span&gt;: &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_95&quot;&gt;Descripción&lt;/span&gt; de un &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_96&quot;&gt;servlet&lt;/span&gt;. Contiene dos elementos:&lt;br /&gt;- &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_97&quot;&gt;servlet&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_98&quot;&gt;name&lt;/span&gt;: Nombre del &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_99&quot;&gt;servlet&lt;/span&gt;&lt;br /&gt;- &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_100&quot;&gt;servlet&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_101&quot;&gt;class&lt;/span&gt;: Nombre de la clase del &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_102&quot;&gt;servlet&lt;/span&gt;, normalmente coincide con el nombre&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_103&quot;&gt;servlet&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_104&quot;&gt;mapping&lt;/span&gt;: Indica al servidor cómo se ejecuta un &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_105&quot;&gt;servlet&lt;/span&gt; en concreto. También tiene dos elementos:&lt;br /&gt;- &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_106&quot;&gt;servlet&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_107&quot;&gt;name&lt;/span&gt;: Nombre del &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_108&quot;&gt;servlet&lt;/span&gt; que queremos &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_109&quot;&gt;referenciar&lt;/span&gt;&lt;br /&gt;- &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_110&quot;&gt;url&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_111&quot;&gt;pattern&lt;/span&gt;: Ruta del &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_112&quot;&gt;servlet&lt;/span&gt;. Puede contener directorios virtuales. Será la ruta que usemos para lanzar el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_113&quot;&gt;servlet&lt;/span&gt; con el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_114&quot;&gt;Tomcat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_115&quot;&gt;Podéis&lt;/span&gt; crear este fichero con el vi como ya hemos visto.&lt;br /&gt;&lt;br /&gt;Y una vez terminados todos estos pasos ya podemos arrancar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_116&quot;&gt;Tomcat&lt;/span&gt; y probar el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_117&quot;&gt;servlet&lt;/span&gt;. &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_118&quot;&gt;Arrancais&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_119&quot;&gt;Tomcat&lt;/span&gt;, &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_120&quot;&gt;abrís&lt;/span&gt; el explorador y &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_121&quot;&gt;escribís&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_122&quot;&gt;localjost&lt;/span&gt;:8080. Se os abrirá la página principal de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_123&quot;&gt;Tomcat&lt;/span&gt;. Si &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_124&quot;&gt;pinchais&lt;/span&gt; en &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_125&quot;&gt;Tomcat&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_126&quot;&gt;Manager&lt;/span&gt;, en la parte izquierda (introducir &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_127&quot;&gt;user&lt;/span&gt; y &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_128&quot;&gt;pass&lt;/span&gt;), se os abrirá el gestor de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_129&quot;&gt;aplicaciones&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_130&quot;&gt;web&lt;/span&gt; de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_131&quot;&gt;Tomcat&lt;/span&gt; donde tendrá que aparecer el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_132&quot;&gt;servlet&lt;/span&gt; que hemos creado:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbGnEvO6Sl0uFhL63q74W5Yd3Cl1VTW5wX7g3xVUv1LBXmGM-VPW8Am3ahBdgyU0k6CRetWmrBbKv4xOpdxIx7Po1tYB6ySweld2Yiw_VR73ToF028o_Htu_YkbN5O47_-AiQCyq4MU_bw/s1600/Captura+de+pantalla+2010-12-07+a+las+18.55.09.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 219px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbGnEvO6Sl0uFhL63q74W5Yd3Cl1VTW5wX7g3xVUv1LBXmGM-VPW8Am3ahBdgyU0k6CRetWmrBbKv4xOpdxIx7Po1tYB6ySweld2Yiw_VR73ToF028o_Htu_YkbN5O47_-AiQCyq4MU_bw/s400/Captura+de+pantalla+2010-12-07+a+las+18.55.09.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548000689539826018&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Si os &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_133&quot;&gt;fijáis&lt;/span&gt; a la parte derecha del &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_134&quot;&gt;servlet&lt;/span&gt; aparece un menú como este:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9awRtikm14xSBHCgZHeBICHHLmbu6vuv25ydzFxNE6RnE-AibuFR02WDRtd8r2Cnq5u2_HfN_hJHWAVFm63UqPWE705sSt0o7R5cmJShj-zc-Kcui7hrH7XJebDiic6yVasZTn9GrM90Y/s1600/Captura+de+pantalla+2010-12-07+a+las+18.58.14.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 340px; height: 70px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9awRtikm14xSBHCgZHeBICHHLmbu6vuv25ydzFxNE6RnE-AibuFR02WDRtd8r2Cnq5u2_HfN_hJHWAVFm63UqPWE705sSt0o7R5cmJShj-zc-Kcui7hrH7XJebDiic6yVasZTn9GrM90Y/s400/Captura+de+pantalla+2010-12-07+a+las+18.58.14.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548001503642412914&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Si el &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_135&quot;&gt;servlet&lt;/span&gt; no aparece como arrancado lo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_136&quot;&gt;tenéis&lt;/span&gt; que arrancar, sino no funcionará.&lt;br /&gt;&lt;br /&gt;Y llegó la hora de la verdad, para probar nuestro &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_137&quot;&gt;servlet&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_138&quot;&gt;escribiremos&lt;/span&gt; en el explorador la ruta que le indicamos en el documentos &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_139&quot;&gt;web&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_140&quot;&gt;xml&lt;/span&gt; de la siguiente forma:&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_141&quot;&gt;localhost&lt;/span&gt;:8080/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_142&quot;&gt;tutorial&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_143&quot;&gt;servlet&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_144&quot;&gt;HolaMundo&lt;/span&gt; (o la ruta que &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_145&quot;&gt;hayáis&lt;/span&gt; puesto). Si todo ha ido bien &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_146&quot;&gt;deberiais&lt;/span&gt; ver en vuestro explorador algo como esto:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt1t2aVZQEtqCHC2YxbcInfJgxdkXFgmKMCvR8ykxOoQ8IWvLz3HIPMZeUxM8YtA6na7lOJBFlaOoRYa1wTEtwGPpovvbdlTISgklHPQj2AFQq8l2Ksc7zGSPgm5CvwblxHp50vrctuGaI/s1600/Captura+de+pantalla+2010-12-07+a+las+19.02.37.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 180px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt1t2aVZQEtqCHC2YxbcInfJgxdkXFgmKMCvR8ykxOoQ8IWvLz3HIPMZeUxM8YtA6na7lOJBFlaOoRYa1wTEtwGPpovvbdlTISgklHPQj2AFQq8l2Ksc7zGSPgm5CvwblxHp50vrctuGaI/s400/Captura+de+pantalla+2010-12-07+a+las+19.02.37.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548002636168815714&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;</description><link>http://mientrasprogramo.blogspot.com/2010/12/como-compilar-y-ejecutar-un-servlet-en.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQGOLs8HvO8ozV8ETcKCsDe-yQlGJkTeMLLawGZeoZwhly87QLcPhYiV5XB_SyAIJFAw71yg1G07QTa8jz2DE9osNSr2GcHz6bzT7fgCuwfrbFR9a6jYaSLt5kZ1M49M3B52hIWb0lJ3FO/s72-c/Captura+de+pantalla+2010-12-07+a+las+17.58.06.png" height="72" width="72"/><thr:total>10</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-3855991900986853193</guid><pubDate>Sun, 05 Dec 2010 14:41:00 +0000</pubDate><atom:updated>2010-12-06T13:27:01.345+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apache</category><category domain="http://www.blogger.com/atom/ns#">Internet</category><category domain="http://www.blogger.com/atom/ns#">Mac OS X</category><category domain="http://www.blogger.com/atom/ns#">Servidores web</category><category domain="http://www.blogger.com/atom/ns#">Tomcat</category><title>Cómo cambiar la contraseña de Tomcat en Mac OS X</title><description>Si os fue bien la instalación de Tomcat que os expliqué en el post anterior, ya podreis usarlo y administrarlo escribiendo en vuestro explorador http://localhost:8080 y pinchando en alguna de las opciones que aparece en la parte izquierda de la pagina de inicio de Tomcat. Oh no!! me pide un usuario y una contraseña, pero no se cuales son :S &lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5607057captura-de-pantalla.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 411px; height: 200px;&quot; src=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5607057captura-de-pantalla.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Seguro que a más de un@ os ha pasado eso. Que no cunda el pánico. Existe un fichero .xml en el directorio de Tomcat llamado tomcat-users.xml con esta estructura:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1t2FJlGTbnK9keK0uyxYFDsSdxTm72zCwbpxSchouItd7gp-mFSNMWm4X4PiPjvoDUDUPFDxjUJt3gvNm7pHtjgqyAzUVmEfM1SDO4GStlnaRsnoFCo4I53aCgahVwaD8wKuSPs-1SusP/s1600/Captura+de+pantalla+2010-12-05+a+las+16.17.03.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 376px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1t2FJlGTbnK9keK0uyxYFDsSdxTm72zCwbpxSchouItd7gp-mFSNMWm4X4PiPjvoDUDUPFDxjUJt3gvNm7pHtjgqyAzUVmEfM1SDO4GStlnaRsnoFCo4I53aCgahVwaD8wKuSPs-1SusP/s400/Captura+de+pantalla+2010-12-05+a+las+16.17.03.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5547222645795941298&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;El fichero está en /usr/local/apache-tomcat-6.0.29/conf/tomcat-users.xml&lt;br /&gt;Podeis abrirlo con el vi como os explique en el post anterior escribiendo en la consola:&lt;br /&gt;&lt;br /&gt;vi /usr/local/apache-tomcat-6.0.29/conf/tomcat-users.xml&lt;br /&gt;&lt;br /&gt;Simplemente tenéis que borrar los símbolos de comentario que os he marcado con unos asteriscos y definir un usuario nuevo con privilegios de administrador añadiendo estas lineas:&lt;br /&gt;  &lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5607136captura-de-pantalla.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 513px; height: 125px;&quot; src=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5607136captura-de-pantalla.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Los role y user que vienen definidos no hay que borrarlos, pero el que usaremos para entrar será el nuevo que hemos definido (el username y el password pueden ser el que queráis)&lt;br /&gt;&lt;br /&gt;Finalmente lo guardais (si habéis usado el vi pulsais esc :wq) y volveis a arrancar el tomcat en vuestro explorador e intentais acceder con el user y password que habeis definido. Si todo ha ido bien os aparecerá el gestor de aplicaciones web de Tomcat.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5607065captura-de-pantalla.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 413px; height: 200px;&quot; src=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5607065captura-de-pantalla.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;</description><link>http://mientrasprogramo.blogspot.com/2010/12/como-cambiar-la-contrasena-de-tomcat-en.html</link><author>noreply@blogger.com (ADA)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1t2FJlGTbnK9keK0uyxYFDsSdxTm72zCwbpxSchouItd7gp-mFSNMWm4X4PiPjvoDUDUPFDxjUJt3gvNm7pHtjgqyAzUVmEfM1SDO4GStlnaRsnoFCo4I53aCgahVwaD8wKuSPs-1SusP/s72-c/Captura+de+pantalla+2010-12-05+a+las+16.17.03.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5274365667849491936.post-5841843363135077618</guid><pubDate>Sun, 05 Dec 2010 12:24:00 +0000</pubDate><atom:updated>2010-12-05T16:50:03.374+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apache</category><category domain="http://www.blogger.com/atom/ns#">Internet</category><category domain="http://www.blogger.com/atom/ns#">Mac OS X</category><category domain="http://www.blogger.com/atom/ns#">Servidores web</category><category domain="http://www.blogger.com/atom/ns#">Tomcat</category><title>Cómo instalar Apache Tomcat en Mac OS X</title><description>Como inauguración de este blog, voy a enseñaros cómo instalar Tomcat en Mac OS X, ya que ayer mismo lo hice. &lt;br /&gt;Tomcat, para quien no lo sepa, es un servidor web con soporte para paginas web dinámicas (servlets y JSP) y lejos de lo que pueda parecer, es muy fácil de instalar.&lt;br /&gt;&lt;br /&gt;Antes de empezar teneis que descargaros &lt;a href=&quot;http://tomcat.apache.org/download-60.cgi&quot;&gt;Tomcat&lt;/a&gt; de la pagina oficial del proyecto. La descarga es gratuita por tratarse de software libre.&lt;br /&gt;Como veréis (en la parte izquierda de la pagina) hay varias versiones. Yo voy a explicaros como se instala Tomcat 6.0, ya que la versión 7.0 es una beta.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://s2.subirimagenes.com/imagen/previo/thump_5606684captura-de-pantalla.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 416px; height: 200px;&quot; src=&quot;http://s2.subirimagenes.com/imagen/previo/thump_5606684captura-de-pantalla.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Para Mac OS X teneis que bajaros el archivo .tar.gz&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5606700captura-de-pantalla.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 467px; height: 200px;&quot; src=&quot;http://s3.subirimagenes.com:81/imagen/previo/thump_5606700captura-de-pantalla.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Una vez descargado el Tomcat, teneis que descomprimirlo, yo os recomiendo que lo hagáis a mano (donde queráis, simplemente haciendo doble click sobre el archivo .tar), también podríais hacerlo con la consola, pero yo os cuento la forma mas fácil de hacerlo y que menos problemas os puede dar. &lt;br /&gt;&lt;br /&gt;Una vez hecho esto, abrís la consola para instalarlo (Aplicaciones/Utilidades/Terminal) y entrais en el directorio donde hayáis descomprimido el archivo. En mi caso, está en mi directorio Home, que es el que abre por defecto la consola.&lt;br /&gt;El primer paso es mover la carpeta de tomcat al directorio /usr/local, para ello escribís las siguientes linea de comandos en la consola:&lt;br /&gt;&lt;br /&gt;sudo sh: Con esta linea conseguís los privilegios de seguridad del root y ejecutamos comandos en un subsell. Nos pedirá la contraseña de administracion de nuestro equipo.&lt;br /&gt;&lt;br /&gt;mv apache-tomcat-6.0.29 /usr/local: Con esta linea moveis la carpeta que contiene el Tomcat descomprimido al directorio /usr/local&lt;br /&gt;&lt;br /&gt;Una vez hecho esto hay que dar privilegios, para ello escribís esta linea de comandos:&lt;br /&gt;chmod -R 775 /usr/local/apache-tomcat-6.0.29&lt;br /&gt;&lt;br /&gt;Y ya casi está, ahora solo queda configurar las variables de entorno, para ello os recomiendo crear un par de scripts donde las definis y además podéis arrancar o detener el Tomcat. Para crear los scripts, podéis hacerlos dentro de vuestro directorio Home con el editor vi (tenéis que cambiar de usuario, pasar de root a vuestro usuario, para eso simplemente escribís exit y le dais a intro).&lt;br /&gt;Las variables a definir son estas dos:&lt;br /&gt;CATALINA_HOME: Contendrá la ruta donde instalasteis el Tomcat&lt;br /&gt;JAVA_HOME: Contendrá la ruta donde está instalado el JDK. Que nadie se asuste, en Mac OS X, el JDK ya viene instalado con el sistema. La ruta es /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home.&lt;br /&gt;Por ultimo hay que indicar que quereis que Tomcat arranque o se detenga. Por tanto el script para arrancar Tomcat seria algo asi:&lt;br /&gt;&lt;br /&gt;vi start_tomcat: esta linea abre el editor vi y crea un fichero llamado start_tomcat (podéis llamarlo como queráis)&lt;br /&gt;y escribis esto:&lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;export CATALINA_HOME=/usr/local/apache-tomcat-6.0.29&lt;br /&gt;export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home&lt;br /&gt;$CATALINA_HOME/bin/startup.sh&lt;br /&gt;&lt;br /&gt;pulsamos esc :wq y ya tenemos el scipt de arranque&lt;br /&gt;&lt;br /&gt;Para el sript que detiene Tomcat hay que hacer lo mismo (podéis llamarlo stop_tomcat o como queráis) pero el contenido del script será este:&lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;export CATALINA_HOME=/usr/local/apache-tomcat-6.0.29&lt;br /&gt;export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home&lt;br /&gt;$CATALINA_HOME/bin/shutdown.sh&lt;br /&gt;&lt;br /&gt;Ya solo nos queda el ultimo paso, que es darle permisos de ejecución:&lt;br /&gt;&lt;br /&gt;chmod ug+x start_tomcat stop_tomcat (o como los hayáis llamado)&lt;br /&gt;&lt;br /&gt;Ya podemos arrancar Tomcat escribiendo en la consola ./start_tomcat (o como lo hayáis llamado). Para comprobar que todo ha ido bien tenéis que abrir vuestro explorador de internet y escribir:&lt;br /&gt;http://localhost:8080 y os tiene que aparecer una ventana como esta:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://s2.subirimagenes.com/imagen/previo/thump_5606820captura-de-pantalla.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 411px; height: 200px;&quot; src=&quot;http://s2.subirimagenes.com/imagen/previo/thump_5606820captura-de-pantalla.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Si no os sale, revisar todos los pasos.&lt;br /&gt;&lt;br /&gt;Para detenerlo igual que para arrancar pero con el otro script:&lt;br /&gt;./stop_tomcat</description><link>http://mientrasprogramo.blogspot.com/2010/12/como-instalar-apache-tomcat-en-mac-os-x.html</link><author>noreply@blogger.com (ADA)</author><thr:total>1</thr:total></item></channel></rss>