<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='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'><id>tag:blogger.com,1999:blog-5945697824261989454</id><updated>2024-09-19T18:59:35.891-04:00</updated><category term="inf-121"/><category term="Practica 121 UMSA Informatica"/><category term="umsa."/><category term="Herencia POO UMSA INF 121"/><category term="JAVA"/><category term="lab-121"/><category term="C# INFORMATICA"/><category term="Java Mail hotmail"/><category term="POO UMSA INF 121"/><category term="orientado a objetos"/><category term="poo"/><category term="2014"/><category term="2015"/><category term="CODIGO FUENTE"/><category term="atributos"/><category term="metodos"/><category term="pdf"/><category term="ARGO UML"/><category term="Clases y Objetos"/><category term="Correo Electronico"/><category term="Enviador"/><category term="JAR"/><category term="JAVA MAILER"/><category term="Laravel 4"/><category term="Palindromo JAVA"/><category term="REV 03"/><category term="Threads"/><category term="apache2"/><category term="chat java"/><category term="dev"/><category term="gmail"/><category term="localhost"/><category term="socket"/><category term="subdominio"/><title type='text'>INF-121</title><subtitle type='html'>UMSA INFORMATICA</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-1309400368177823796</id><published>2015-05-23T20:53:00.003-04:00</published><updated>2015-05-23T20:57:04.745-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache2"/><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Laravel 4"/><category scheme="http://www.blogger.com/atom/ns#" term="localhost"/><category scheme="http://www.blogger.com/atom/ns#" term="subdominio"/><title type='text'>Laravel, apache2  discriminar segun dominio</title><content type='html'>Para que se vea mas bonido el proyecto que desarrollamos decidimos diseccionar al mismo proyecto de laravel y dentro de laravel mostrar datos solo al dominio q se solicito.
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;        

Digamos 
             web.com  --&amp;gt; Para toda peticion
        zero.web.com  --&amp;gt; Algo asi como 0.fb  
 &lt;/pre&gt;
En el servidor no ocaciono problemas pero para hacer las pruebas en localhost :( , ya no funcionaba correctamente
Sol. idem para el servidor :D &lt;br /&gt;
Fichero: /etc/apache2/sites-enabled/web.conf&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;        
&amp;lt;VirtualHost *:80&amp;gt;
        ServerName web.dev
        ServerAlias web.dev
        DocumentRoot /var/www/html/web/

        &amp;lt;Directory /var/www/html/web/&amp;gt;
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        &amp;lt;/Directory&amp;gt;

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

&amp;lt;/VirtualHost&amp;gt;

&lt;virtualhost&gt;
&lt;/virtualhost&gt;&lt;/pre&gt;
Fichero: /etc/apache2/sites-enabled/zero.web.conf

&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;   
&amp;lt;VirtualHost *:80&amp;gt;
        ServerName zero.web.dev
        ServerAlias *.web.dev

        DocumentRoot /var/www/html/web

        &amp;lt;Directory /var/www/html/web/&amp;gt;
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        &amp;lt;/Directory&amp;gt;

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
&amp;lt;/VirtualHost&amp;gt;

   &lt;/pre&gt;
Habilitar las configuraciones

&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;a2ensite web.conf
a2ensite zero.web.conf
&lt;/pre&gt;
Para diferenciar las rutas en laravel 4 :(
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;Route::group(array(&#39;domain&#39;=&amp;gt;&#39;zero.web.{com}&#39;),function(){
    ....
});
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;Route::group(array(&#39;domain&#39;=&amp;gt;&#39;web.{com}&#39;),function(){
    ....
});
&lt;/pre&gt;
&lt;br /&gt;
Eso es todo podran hacer la prueba en
 &lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt; service apache2 restart 
 web.dev
 zero.web.dev
&lt;/pre&gt;
NOTA:
 Donde esta el &quot;public&quot; pues hice un enlace simbolico 
&lt;pre class=&quot;prettyprint&quot;&gt; service apache2 restart 

ln -s laravel/public /var/www/html/web
&lt;/pre&gt;
&lt;br /&gt;
Si hay errores solo para localhost &lt;br/&gt;
nano /etc/hosts
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt; 
127.0.0.1       localhost
127.0.1.1       Scarlet
127.0.0.1       web.dev
127.0.0.1       zero.web.dev
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;/etc/init.d/networking  restart
&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/1309400368177823796/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2015/05/laravel-apache2-discriminar-segun.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1309400368177823796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1309400368177823796'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2015/05/laravel-apache2-discriminar-segun.html' title='Laravel, apache2  discriminar segun dominio'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-962632602271881738</id><published>2015-03-18T23:30:00.003-04:00</published><updated>2015-03-18T23:51:27.079-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="Clases y Objetos"/><category scheme="http://www.blogger.com/atom/ns#" term="inf-121"/><category scheme="http://www.blogger.com/atom/ns#" term="POO UMSA INF 121"/><title type='text'>Clases y Objetos</title><content type='html'>Main.java
&lt;pre class=&quot;prettyprint java&quot;&gt;
public class Main {
 public static void main(String[] args) {
//  a) Inicialice el radio de la Rueda con el valor de 10.2
  Circunferencia Rueda= new Circunferencia();
  Rueda.ModificarRadio(10.2);
//  b) Inicialice el radio de la Moneda con el valor de 1.4
  Circunferencia Moneda = new Circunferencia();
  Moneda.ModificarRadio(1.4);
//  c) Imprima el área de la Rueda.
  System.out.println(&quot;Area rueda &quot;+Rueda.CalcularArea());
//  d) Imprima el área de la Moneda.
  System.out.println(&quot;Area moneda &quot;+Moneda.CalcularArea());
//  e) Imprima el perímetro de la Rueda.
  System.out.println(&quot;Perimetro Rueda &quot;+Rueda.CalcularPerimetro());
//  f) Imprima el perímetro de la Moneda.
  System.out.println(&quot;Persimetro Moneda &quot;+Moneda.CalcularPerimetro());
  
 }
}
&lt;/pre&gt;
&lt;br&gt;
Circunferencia.java
&lt;pre class=&quot;prettyprint java&quot;&gt;
public class Circunferencia {
 private double radio;
 
 public double CalcularArea(){
  return Math.PI*radio*radio;
 }
 public double CalcularPerimetro(){
  return 2*Math.PI*radio;
 }  
 public void ModificarRadio(double r){
  this.radio=r;
 }
 public double ConsultarRadio(){
  return radio;
 } 
}
&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/962632602271881738/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2015/03/clases-y-objetos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/962632602271881738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/962632602271881738'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2015/03/clases-y-objetos.html' title='Clases y Objetos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-1428265034663644757</id><published>2015-03-18T21:49:00.002-04:00</published><updated>2015-03-18T23:27:44.989-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="C# INFORMATICA"/><category scheme="http://www.blogger.com/atom/ns#" term="Herencia POO UMSA INF 121"/><category scheme="http://www.blogger.com/atom/ns#" term="inf-121"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="lab-121"/><category scheme="http://www.blogger.com/atom/ns#" term="pdf"/><category scheme="http://www.blogger.com/atom/ns#" term="poo"/><category scheme="http://www.blogger.com/atom/ns#" term="POO UMSA INF 121"/><category scheme="http://www.blogger.com/atom/ns#" term="Practica 121 UMSA Informatica"/><category scheme="http://www.blogger.com/atom/ns#" term="umsa."/><title type='text'>Retorno</title><content type='html'>Hola, hace tiempo q ya no actualizo el blog :( por falta de tiempo, pero ahora vamos con todo encontré unos pdf muy buenos de de México donde enseñan entorno gráfico uu el temor en cada semestre de los q esta en 121 no de todos, lo malo o bueno es q esta en C# y los resolvere en java para q puedan guiarse como se resuelve, es fácil en especial si manejan NetBeans solo hay que darse cuenta.&lt;br /&gt;
&lt;br /&gt;
Los Links:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/AYlx86P0&quot; target=&quot;_blank&quot;&gt;Practica 2-1 - Clases y objetos.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/idaCy3ti&quot; target=&quot;_blank&quot;&gt;Practica 3-1 - Herencia.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/VaBQtR7b&quot; target=&quot;_blank&quot;&gt;Practica 3-2 - Composicion.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/HLsABPUS&quot; target=&quot;_blank&quot;&gt;Practica 3-3 - Agregacion.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/ptGeVwYv&quot; target=&quot;_blank&quot;&gt;Practica 4-1 - Polimorfismo.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/qlduBV2V&quot; target=&quot;_blank&quot;&gt;Practica 4-2 - Interfaces.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/BaNWLQeb&quot; target=&quot;_blank&quot;&gt;Practica 5-1 - Excepciones.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/Kl7xppVs&quot; target=&quot;_blank&quot;&gt;Practica 6-1 - Altas en Bases de datos.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/uE0P6DeD&quot; target=&quot;_blank&quot;&gt;Practica 6-2 - Bajas en Bases de Datos.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/WKdBaDGI&quot; target=&quot;_blank&quot;&gt;Practica 6-3 - Consultas en Bases de Datos.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://db.tt/6RkQt7Hy&quot; target=&quot;_blank&quot;&gt;Practica 6-4 - Listado de Bases de Datos.pdf&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/1428265034663644757/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2015/03/retorno.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1428265034663644757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1428265034663644757'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2015/03/retorno.html' title='Retorno'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-1505149633575751663</id><published>2014-09-24T19:46:00.000-04:00</published><updated>2014-09-25T19:43:36.452-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="C# INFORMATICA"/><category scheme="http://www.blogger.com/atom/ns#" term="inf-121"/><category scheme="http://www.blogger.com/atom/ns#" term="POO UMSA INF 121"/><category scheme="http://www.blogger.com/atom/ns#" term="Practica 121 UMSA Informatica"/><title type='text'>Guia de Ejercicios No 2 Sol</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Guia de Ejercicios No 2&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&amp;nbsp;LAB121 Laboratorio de INF121&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Tema: Programacion Orientada a Objetos&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&amp;nbsp;9 de septiembre de 2014&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Hola después de mucho tiempo estoy volviendo a publicar algo decente, es la practica que les dieron a los q estan en &amp;nbsp;LAB 121, xD espero q este bien :D ;) &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://db.tt/hqmoiRnW&quot;&gt;DESCARGAR PRACTICA&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class Punto {
 protected int a1;
 protected int a2;
 protected int a3;
 //constructores
 public Punto() {
  a1=1;
  a2=1;
  a3=1;
 }
 public Punto(int a,int b, int z){
  this.a1=a;
  this.a2=b;
  this.a3=z;
 }
 public int getA1() {
  return a1;
 }
 public int getA2() {
  return a2;
 }
 public int getA3() {
  return a3;
 }
 
 public Punto suma(Punto b){
  Punto pun = new Punto(a1+b.a1, a2+b.a2, a3+b.a3);
  return pun; //retorna este punto
 }
 //fin constructores
 public Punto resta(Punto b) {
  Punto pun = new Punto(a1-b.a1, a2-b.a2, a3-b.a3);
  return pun;
 }
 public int prod_interno(Punto b) {
  return (a1*b.a1 + a2*b.a2 + a3*b.a3);
 }
 public double norma(){
  return (double)Math.sqrt(a1*a1 + a2*a2 + a3*a3);
 }
 public double cruz(Punto b){
  return (double)Math.abs((a2*b.getA3() - a3*b.getA2()) - 
        (a3*b.getA1() - a1*b.getA3()) + 
           (a1*b.getA2() - a2*b.getA1()));
 }
 public void mostrar(){
  System.out.println(a1+ &quot; &quot;+a2+&quot; &quot;+a3);
 }
}
&lt;/pre&gt;
AlgebraVectorial.java
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class AlgebraVectorial {
 Punto p;
 
 public AlgebraVectorial() {
  this.p.a1=1;
  this.p.a2=1;
  this.p.a3=1;
 }
 public AlgebraVectorial(Punto a) {
  this.p = a;
 }

 // a)
 public void Perpendicular(Punto b) {
  Punto x = p.suma(b);
  Punto y = p.resta(b);
  
  if (Math.abs(x.getA1()) == Math.abs(y.getA1())
    &amp;amp;&amp;amp; Math.abs(x.getA2()) == Math.abs(y.getA2())
    &amp;amp;&amp;amp; Math.abs(x.getA3()) == Math.abs(y.getA3())) {
   System.out.println(&quot;El punto a es ortogonal o perpendicular a b&quot;);
  } else {
   System.out.println(&quot;El punto a no ortogonal o perpendicular a b&quot;);
  }
 }

 // b)
 public void Perpendicular(Punto a, Punto b, Punto c, Punto d) {
  Punto x = a.resta(b);
  Punto y = b.resta(a);
  if (Math.abs(x.getA1()) == Math.abs(y.getA1())
    &amp;amp;&amp;amp; Math.abs(x.getA2()) == Math.abs(y.getA2())
    &amp;amp;&amp;amp; Math.abs(x.getA3()) == Math.abs(y.getA3())) {
   System.out.println(&quot;El vector a mutuamente ortogonal a b&quot;);
  } else {
   System.out.println(&quot;El vector a no es mutuamente ortogonal a b&quot;);
  }
 }

 // c)
 public void Perpendicular(Punto b, int cero) {
  cero=0;
  if(p.prod_interno(b) == cero){
   System.out.println(&quot;Vector es ortogonal a b&quot;);
  }else{
   System.out.println(&quot;Vector no es ortogonal a b&quot;);
  }
 }

 // d)
 public void Perpendicular(Punto a, Punto b) {
  Punto x=p.suma(a);
  double nx = x.norma();
  
  if(nx == (double)(a.norma() + b.norma())){
   System.out.println(&quot;Vector a es ortogonal a b&quot;);
  }else{
   System.out.println(&quot;Vector a no es ortogonal a b&quot;);
  }
 }

 // e)
 public void Paralela(Punto b) {
  //zzz
 }

 // f)
 public void Paralela(Punto a, Punto b) {
  if(a.cruz(b) == (double)0.0 ){
   System.out.println(&quot;AxB vector a  es paralela a b &quot;+a.cruz(b));
  }else{
   System.out.println(&quot;AxB vector a  no es paralela a b &quot;+ a.cruz(b));
  }
 }

 // g
 public void proy_de_a_en_b(Punto b) {
  System.out.println(&quot;Proyeccion es &quot;);
  double numero = (double)p.prod_interno(b);
  double nomr=b.norma()*b.norma();
  System.out.println(&quot; a1 = &quot;+numero*b.getA1()+&quot;/&quot;+nomr);
  System.out.println(&quot; a2 = &quot;+numero*b.getA2()+&quot;/&quot;+nomr);
  System.out.println(&quot; a3 = &quot;+numero*b.getA3()+&quot;/&quot;+nomr);
 }

 // h)
 public void Componente_de_a_en_b(Punto a, Punto b) {
  System.out.println(&quot;Comp de a en direccion b &quot;);
  System.out.println((double)Math.abs(a.prod_interno(b))+&quot;/&quot;+b.norma());
 }
}
&lt;/pre&gt;
Main.java
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class Main {

 /**
  * @author sam starsaminf@gmail.com
  */
 public static void main(String[] args) {
  Punto a=new Punto(1,-3,-2);
  Punto b=new Punto(-3,-4,0);
  AlgebraVectorial alg=new AlgebraVectorial(a);
  //a
  alg.Perpendicular(b);
  //b
  alg.Perpendicular(a,b,b,a);
  //c
  alg.Perpendicular(b, 0);
  //d
  alg.Perpendicular(a,b);
  //e
  alg.Paralela(b);
  //f
  alg.Paralela(a,b);
  //g
  alg.proy_de_a_en_b(b);
  //h
  alg.Componente_de_a_en_b(a, b);
 }

}
&lt;/pre&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/1505149633575751663/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2014/09/guia-de-ejercicios-no-2.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1505149633575751663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1505149633575751663'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2014/09/guia-de-ejercicios-no-2.html' title='Guia de Ejercicios No 2 Sol'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-7294457739502840077</id><published>2014-03-17T21:37:00.000-04:00</published><updated>2014-03-20T19:45:30.014-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="CODIGO FUENTE"/><category scheme="http://www.blogger.com/atom/ns#" term="Herencia POO UMSA INF 121"/><category scheme="http://www.blogger.com/atom/ns#" term="inf-121"/><category scheme="http://www.blogger.com/atom/ns#" term="lab-121"/><category scheme="http://www.blogger.com/atom/ns#" term="Practica 121 UMSA Informatica"/><category scheme="http://www.blogger.com/atom/ns#" term="umsa."/><title type='text'>Agregación Composición ejer 1 </title><content type='html'>Hola después de mucho tiempo estoy volviendo a publicar algo decente, esta ves publicare las soluciones en diferentes lenguajes estos serán: Java, c#, c++,QT puede que php también :D&lt;br /&gt;
Espesemos :&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7x3siiGU57Q15r3nk0K0gIX3PbMz3FzUXhDeJDr8YKPzk5RLggxETsPOG_LjS9mMAWwoKfefcLPU2TUhuzvSqhe0OlPcpAESjm1lX2Oagv6PqoQye3ntklHQdarhs80GDxcc4vEBPVLSz/s1600/preg1_1.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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7x3siiGU57Q15r3nk0K0gIX3PbMz3FzUXhDeJDr8YKPzk5RLggxETsPOG_LjS9mMAWwoKfefcLPU2TUhuzvSqhe0OlPcpAESjm1lX2Oagv6PqoQye3ntklHQdarhs80GDxcc4vEBPVLSz/s1600/preg1_1.png&quot; height=&quot;323&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;Código :&lt;br /&gt;
Para Java&lt;br /&gt;
Biblioteca.java&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;import java.util.Scanner;

public class Biblioteca {
 public String Nombre;
 public String Direccion;
 public int nroLibros;
 public Libro[] libro;

 public Biblioteca(String nombre, String direccion, int nrolib) {
  Nombre = nombre;
  Direccion = direccion;
  nroLibros = nrolib;
  libro = new Libro[30];
  for (int i = 0; i &amp;lt; nroLibros; i++) {
   libro[i] = new Libro(&quot;Aventuras de Gregor Samsa &quot;, &quot;Samsa&quot;, 100);
  }
 }

 public void solA(String autor) {
  System.out.println(&quot;Busqueda de libro de autor = &quot; + autor);
  for (int i = 0; i &amp;lt; nroLibros; i++) {
   if (libro[i].autor.equals(autor)) {
    System.out.println(&quot;Libro &quot; + libro[i].nombre);
   }
  }
 }

 public void solB(Biblioteca a, Biblioteca b) {
  for (int i = 0; i &amp;lt; a.nroLibros; i++) {
   for (int j = 0; j &amp;lt; b.nroLibros; j++) {
    if (a.libro[i].nombre.equals(b.libro[j].nombre)) {
     System.out.println(&quot;EL libro &quot; + a.libro[i].nombre
       + &quot; esta en las 2 bibliotecas&quot;);
     break; // como ya sabemos q esta saltamos la busqueda
    }
   }
  }
 }

 public void solC(int x) {
  System.out.println(&quot;Eliminando libros de nro pag = &quot; + x);
  System.out.println(&quot;Antes de eliminar &quot; + nroLibros);
  int nn = 0;
  for (int i = 0; i &amp;lt; nroLibros; i++) {
   if (libro[i].npag == x) {
    // inicio eliminacion
    // recorrer todos los elementos
    for (int j = i; j &amp;lt; nroLibros - 1; j++) {
     libro[j] = libro[j + 1];
    }
    nn++;
    // nroLibros--;
   }
  }
  nroLibros -= nn;
  System.out.println(&quot;Al terminar la eliminacion quedan = &quot; + nroLibros);

 }

 public void solD(int k) {
  for (int i = 0; i &amp;lt; k; i++) {
   createbook();
  }
 }

 public void createbook() {
  Scanner sc = new Scanner(System.in);
  System.out.println(&quot;Datos libro&quot;);
  System.out.print(&quot;Titulo : &quot;);
  String nlib = sc.nextLine();
  System.out.print(&quot;Autor :&quot;);
  String alib = sc.nextLine();
  System.out.print(&quot;Nro pag :&quot;);
  int plib = sc.nextInt();
  libro[nroLibros] = new Libro(nlib, alib, plib);
  nroLibros++;
 }
}
&lt;/pre&gt;
&lt;br /&gt;
Libbro.java
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class Libro {
 public String nombre;
 public String autor;
 public int npag;

 public Libro(String n, String a, int np) {
  nombre = n;
  autor = a;
  npag = np;
 }
}
&lt;/pre&gt;
&lt;br /&gt;
Main.java el famoso principal
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class Main {
 public static void main(String[] args) {
  Biblioteca a = new Biblioteca(&quot;Biblioteca CF&quot;, &quot;Rusia&quot;, 5);
  System.out.println(&quot;Mostrando libros de la biblioteca :&quot; + a.Nombre);
  for (int i = 0; i &amp;lt; a.nroLibros; i++) {
   System.out.println(&quot;  Nombre libro = &quot; + a.libro[i].nombre);
   System.out.println(&quot;  Autor        = &quot; + a.libro[i].autor);
   System.out.println(&quot;  Num paginas  = &quot; + a.libro[i].npag);
   System.out.println(&quot;----------------------------&quot;);
  }
  // sol A
  a.solA(&quot;Samsa&quot;);
  System.out.println(&quot;----------------------------&quot;);
  // sol B
  Biblioteca b = new Biblioteca(&quot;Biblioteca TC&quot;, &quot;EEUU&quot;, 5);
  b.solB(a, b);
  System.out.println(&quot;----------------------------&quot;);
  // sol C
  a.solC(100);
  for (int i = 0; i &amp;lt; a.nroLibros; i++) {
   System.out.println(&quot;  Nombre libro = &quot; + a.libro[i].nombre);
   System.out.println(&quot;  Autor        = &quot; + a.libro[i].autor);
   System.out.println(&quot;  Num paginas  = &quot; + a.libro[i].npag);
   System.out.println(&quot;----------------------------&quot;);
  }
  System.out.println(&quot;----------------------------&quot;);
  a.solD(5);
  for (int i = 0; i &amp;lt; a.nroLibros; i++) {
   System.out.println(&quot;  Nombre libro = &quot; + a.libro[i].nombre);
   System.out.println(&quot;  Autor        = &quot; + a.libro[i].autor);
   System.out.println(&quot;  Num paginas  = &quot; + a.libro[i].npag);
   System.out.println(&quot;----------------------------&quot;);
  }
 }

}
&lt;/pre&gt;
&lt;br /&gt;
&lt;a href=&quot;https://db.tt/em2kw7n0&quot;&gt;Descargar&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/7294457739502840077/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2014/03/guia-de-ejercicios-no-1.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7294457739502840077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7294457739502840077'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2014/03/guia-de-ejercicios-no-1.html' title='Agregación Composición ejer 1 '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7x3siiGU57Q15r3nk0K0gIX3PbMz3FzUXhDeJDr8YKPzk5RLggxETsPOG_LjS9mMAWwoKfefcLPU2TUhuzvSqhe0OlPcpAESjm1lX2Oagv6PqoQye3ntklHQdarhs80GDxcc4vEBPVLSz/s72-c/preg1_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-7987753755223497313</id><published>2013-02-26T16:44:00.002-04:00</published><updated>2013-02-26T16:44:34.971-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Herencia POO UMSA INF 121"/><category scheme="http://www.blogger.com/atom/ns#" term="inf-121"/><category scheme="http://www.blogger.com/atom/ns#" term="orientado a objetos"/><category scheme="http://www.blogger.com/atom/ns#" term="pdf"/><category scheme="http://www.blogger.com/atom/ns#" term="Practica 121 UMSA Informatica"/><category scheme="http://www.blogger.com/atom/ns#" term="umsa."/><title type='text'>Material POO(121)</title><content type='html'>Hola les recomiendo leer estos pdf son buenos, interesantes y en español :D&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;a href=&quot;http://db.tt/qFVQ9Xdy&quot;&gt;DESCARGAR&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/7987753755223497313/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2013/02/material-poo121.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7987753755223497313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7987753755223497313'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2013/02/material-poo121.html' title='Material POO(121)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-1729947650154650513</id><published>2012-12-07T15:13:00.001-04:00</published><updated>2012-12-07T15:44:58.633-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chat java"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="socket"/><category scheme="http://www.blogger.com/atom/ns#" term="Threads"/><title type='text'>chat java</title><content type='html'>Cliente, Servidor de chat en java 
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUTWEGmAsCFcaz_sWTC31qbZ_tlWdNLd-tHnOesBCk7SxT4NAD5Dr1nOW1l6vul_KYADaNCvKN_0Gdl456QpphhLNdcQlAj7okcVJWTVHWI0fftv_okXHGCLflmYmnh1Zk9mRsRaJgu-DR/s1600/chat_java.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;293&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUTWEGmAsCFcaz_sWTC31qbZ_tlWdNLd-tHnOesBCk7SxT4NAD5Dr1nOW1l6vul_KYADaNCvKN_0Gdl456QpphhLNdcQlAj7okcVJWTVHWI0fftv_okXHGCLflmYmnh1Zk9mRsRaJgu-DR/s400/chat_java.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: red; font-size: large;&quot;&gt;Descargar: -&amp;gt;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&lt;a href=&quot;http://db.tt/Jj1WXayv&quot; target=&quot;_blank&quot;&gt;cliente&lt;/a&gt;&amp;nbsp; -&amp;gt;&amp;nbsp;&lt;a href=&quot;http://db.tt/62CHHhcr&quot; target=&quot;_blank&quot;&gt;servidor&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;Modo de uso :&lt;/span&gt;&amp;nbsp;-&amp;gt;Primero ejecutar el servidor luego el cliente :D&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&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/AVvXsEiUTWEGmAsCFcaz_sWTC31qbZ_tlWdNLd-tHnOesBCk7SxT4NAD5Dr1nOW1l6vul_KYADaNCvKN_0Gdl456QpphhLNdcQlAj7okcVJWTVHWI0fftv_okXHGCLflmYmnh1Zk9mRsRaJgu-DR/s1600/chat_java.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/1729947650154650513/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2012/12/chat-java.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1729947650154650513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1729947650154650513'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2012/12/chat-java.html' title='chat java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUTWEGmAsCFcaz_sWTC31qbZ_tlWdNLd-tHnOesBCk7SxT4NAD5Dr1nOW1l6vul_KYADaNCvKN_0Gdl456QpphhLNdcQlAj7okcVJWTVHWI0fftv_okXHGCLflmYmnh1Zk9mRsRaJgu-DR/s72-c/chat_java.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-2123884837098974844</id><published>2012-03-08T11:55:00.003-04:00</published><updated>2012-03-08T22:34:48.032-04:00</updated><title type='text'>Practica de 121 01</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Click para ver los documentos de 121 por el momento son pocos &amp;nbsp;pero se incrementara&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.4shared.com/dir/gMSgI7w2/121_2012_01.html&quot; target=&quot;_blank&quot;&gt;AQUI CLICK&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/2123884837098974844/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2012/03/practica-de-121-01.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/2123884837098974844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/2123884837098974844'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2012/03/practica-de-121-01.html' title='Practica de 121 01'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-8813389697732527533</id><published>2012-02-21T21:09:00.001-04:00</published><updated>2012-02-21T21:09:20.912-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="atributos"/><category scheme="http://www.blogger.com/atom/ns#" term="inf-121"/><category scheme="http://www.blogger.com/atom/ns#" term="lab-121"/><category scheme="http://www.blogger.com/atom/ns#" term="metodos"/><category scheme="http://www.blogger.com/atom/ns#" term="orientado a objetos"/><category scheme="http://www.blogger.com/atom/ns#" term="poo"/><category scheme="http://www.blogger.com/atom/ns#" term="umsa."/><title type='text'>Imagen</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&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/AVvXsEhcEwPV4p37qyTm2f-CwiS24N33VIiEzL4ocmMm1YVCaZOhHt0kqAdXpHuvk5hviUXyrW2s6pPOOzDBAOCm7PNP27_6bvWwwhWRdp4iaQ1J07bpXr7Gva6AxLxZzso7wdfk11oATj7YwYgX/s1600/Dibujo.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcEwPV4p37qyTm2f-CwiS24N33VIiEzL4ocmMm1YVCaZOhHt0kqAdXpHuvk5hviUXyrW2s6pPOOzDBAOCm7PNP27_6bvWwwhWRdp4iaQ1J07bpXr7Gva6AxLxZzso7wdfk11oATj7YwYgX/s640/Dibujo.bmp&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/8813389697732527533/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2012/02/imagen.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/8813389697732527533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/8813389697732527533'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2012/02/imagen.html' title='Imagen'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcEwPV4p37qyTm2f-CwiS24N33VIiEzL4ocmMm1YVCaZOhHt0kqAdXpHuvk5hviUXyrW2s6pPOOzDBAOCm7PNP27_6bvWwwhWRdp4iaQ1J07bpXr7Gva6AxLxZzso7wdfk11oATj7YwYgX/s72-c/Dibujo.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-3415658841609035626</id><published>2012-02-04T23:48:00.000-04:00</published><updated>2020-04-09T12:50:05.383-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="atributos"/><category scheme="http://www.blogger.com/atom/ns#" term="inf-121"/><category scheme="http://www.blogger.com/atom/ns#" term="lab-121"/><category scheme="http://www.blogger.com/atom/ns#" term="metodos"/><category scheme="http://www.blogger.com/atom/ns#" term="orientado a objetos"/><category scheme="http://www.blogger.com/atom/ns#" term="poo"/><category scheme="http://www.blogger.com/atom/ns#" term="umsa."/><title type='text'>Iniciando en Programación Orientada a Objetos (POO)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Un ejemplo simple de POO.&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/AVvXsEgIZGtVONsNUTiM1SLP2hlnSZqjKblUPmb7O5g2IzLTbKKb_z_GPC9tKa7xIOogNoAF3mkxYveMSMnI_QBTJkq8qRlXgXhH3xhIw387jNSfp3RNkk8Xs7kNYc6d3bk6swk6MsNIi97MZkNW/s1600/DCL.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;245&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIZGtVONsNUTiM1SLP2hlnSZqjKblUPmb7O5g2IzLTbKKb_z_GPC9tKa7xIOogNoAF3mkxYveMSMnI_QBTJkq8qRlXgXhH3xhIw387jNSfp3RNkk8Xs7kNYc6d3bk6swk6MsNIi97MZkNW/s400/DCL.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Explicación&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;i style=&quot;font-weight: bold; text-decoration: underline;&quot;&gt;Atributos &lt;/i&gt;&amp;nbsp;En la parte de atributos van las&amp;nbsp;características del objeto en este caso nuestro objeto &quot;PERRO&quot;.&lt;br /&gt;
Las&amp;nbsp;características&amp;nbsp;en&amp;nbsp;común&amp;nbsp;de todos los &quot;PERROS &quot;&amp;nbsp;son : Nombre,Color,Raza,Sexo,..etc,&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Como identifico los atributos ?¿&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Un atributo es algo en&amp;nbsp;común&amp;nbsp;para este caso los perros tiene un Nombre, tienen una raza, color, etc. La&amp;nbsp;programación&amp;nbsp;orientada a&amp;nbsp;objetos&amp;nbsp;agarra a un objeto y&lt;br /&gt;
extrae sus&amp;nbsp;características que hacen&amp;nbsp;especial&amp;nbsp;al objeto.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Métodos&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&amp;nbsp;Son las acciones que realizara, entre ellos&amp;nbsp;estaría&amp;nbsp;el constructor o constructores, NuevoPerro mm mejor&amp;nbsp;llamemos le Leer&amp;nbsp;, Mostrar, etc.&lt;br /&gt;
&lt;br /&gt;
Perro()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Se crea un nuevo objeto con los datos que le demos,&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt; public Perro() {
  Nombre = &quot;Toby&quot;;
  color = &quot;Cafe&quot;;
  raza = &quot;Chapi&quot;;
  sexo = &quot;MAcho&quot;;
 }&lt;/pre&gt;
&lt;pre class=&quot;brush: java&quot;&gt;&lt;/pre&gt;
Imagínate&amp;nbsp;que en una de ellas el Docente nos pida&amp;nbsp;instanciar&amp;nbsp;(crear) 20 Perros uff&amp;nbsp;tardarías&amp;nbsp;full tiempo en leer los datos de cada objeto. Pero con los constructores nos ahorramos ese&amp;nbsp;trabajito de estar llenando uno por uno &amp;nbsp;:xD.&lt;br /&gt;
&lt;br /&gt;
Los otros dos metodos creo q no necesitan explicacion&lt;br /&gt;
&lt;b&gt;NuevoPerro()&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mmmm mejor q se llame LeerPerro :), solo leemos los datos del objeto,&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public void LeerPerro() {&lt;/pre&gt;
&lt;pre class=&quot;brush: java&quot;&gt;  Scanner sc = new Scanner(System.in);
  System.out.println(&quot;Nombre del Perro :&quot;);
  Nombre = sc.nextLine();
  System.out.println(&quot;Su color :&quot;);
  color = sc.nextLine();
  System.out.println(&quot;Su raza :&quot;);
  raza = sc.nextLine();
  System.out.println(&quot;Su sexo :&quot;);
  sexo = sc.nextLine();
 }
&lt;/pre&gt;
&lt;b&gt;Mostrar()&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Solo mostramos&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt; 
public void Mostrar() {
  System.out.println(&quot;Nombre del Perro : &quot; + Nombre);
  System.out.println(&quot;Su color    : &quot; + color);
  System.out.println(&quot;Su raza    : &quot; + raza);
  System.out.println(&quot;Su sexo    : &quot; + sexo);
 }&lt;/pre&gt;
&lt;br /&gt;
Clase Perro&lt;/div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;import java.util.Scanner;
class Perro {
 private String Nombre;
 private String color;
 private String raza;
 private String sexo;

 public Perro() {
  Nombre = &quot;Toby&quot;;
  color = &quot;Cafe&quot;;
  raza = &quot;Chapi&quot;;
  sexo = &quot;MAcho&quot;;
 }

 public void LeerPerro() {
  Scanner sc = new Scanner(System.in);
  System.out.println(&quot;Nombre del Perro :&quot;);
  Nombre = sc.nextLine();
  System.out.println(&quot;Su color :&quot;);
  color = sc.nextLine();
  System.out.println(&quot;Su raza :&quot;);
  raza = sc.nextLine();
  System.out.println(&quot;Su sexo :&quot;);
  sexo = sc.nextLine();
 }

 public void Mostrar() {
  System.out.println(&quot;Nombre del Perro : &quot; + Nombre);
  System.out.println(&quot;Su color    : &quot; + color);
  System.out.println(&quot;Su raza    : &quot; + raza);
  System.out.println(&quot;Su sexo    : &quot; + sexo);
 }

}
&lt;/pre&gt;
Clase App, principal, como quieran llamarlo.
&lt;br /&gt;
En esta clase se instanciara o para mejor entendimiento se creara cada objeto&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:java&quot;&gt;Perro a = new Perro();&lt;/pre&gt;
Con ello estamos creando un nuevo objeto de tipo PERRO, podemos crear infinidad de objetos con nombres diferente :xD.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class Main {
 public static void main(String[] starsaminf) {
  Perro a = new Perro();
  a.LeerPerro();
  System.out.println(&quot;*****************&quot;);
  a.Mostrar();
  System.out.println(&quot;*****************&quot;);
  Perro b = new Perro();
  b.Mostrar();
  System.out.println(&quot;*****************&quot;);
 }
}
&lt;/pre&gt;
Saludos :D&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/3415658841609035626/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2012/02/simple-ejemplo-de-poo.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/3415658841609035626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/3415658841609035626'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2012/02/simple-ejemplo-de-poo.html' title='Iniciando en Programación Orientada a Objetos (POO)'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIZGtVONsNUTiM1SLP2hlnSZqjKblUPmb7O5g2IzLTbKKb_z_GPC9tKa7xIOogNoAF3mkxYveMSMnI_QBTJkq8qRlXgXhH3xhIw387jNSfp3RNkk8Xs7kNYc6d3bk6swk6MsNIi97MZkNW/s72-c/DCL.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-4021864641358491665</id><published>2012-02-04T21:52:00.001-04:00</published><updated>2012-02-04T21:52:10.843-04:00</updated><title type='text'>Anuncio</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Muy pronto INF-111 como programar en &lt;b style=&quot;font-size: x-large; font-style: italic;&quot;&gt;JAVA PASO A PASO con &lt;/b&gt;tutoriales desde lo mas&amp;nbsp;básico&lt;br /&gt;
&lt;br /&gt;
Saludos.&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/4021864641358491665/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2012/02/anuncio.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/4021864641358491665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/4021864641358491665'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2012/02/anuncio.html' title='Anuncio'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-5623135938586849618</id><published>2012-01-05T16:41:00.000-04:00</published><updated>2012-01-05T16:41:38.880-04:00</updated><title type='text'>Orientado a Objetos</title><content type='html'>&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: large;&quot;&gt;Pilares de la&amp;nbsp;PROGRAMACIÓN&amp;nbsp;ORIENTADA A OBJETOS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://elvex.ugr.es/decsai/builder/intro/oop/pilares.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; display: inline !important; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://elvex.ugr.es/decsai/builder/intro/oop/pilares.gif&quot; width=&quot;398&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Identificando&amp;nbsp;métodos&amp;nbsp;o atributos del OBJETO en este caso OBJETO AUTO&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;http://t3.gstatic.com/images?q=tbn:ANd9GcRh3ZVMjwNjs_9zqRwcg9uIP_5U1IpoVBWUcfVsCKrSvf58mjlQ&amp;amp;t=1&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;279&quot; src=&quot;http://t3.gstatic.com/images?q=tbn:ANd9GcRh3ZVMjwNjs_9zqRwcg9uIP_5U1IpoVBWUcfVsCKrSvf58mjlQ&amp;amp;t=1&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/5623135938586849618/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2012/01/orientado-objetos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/5623135938586849618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/5623135938586849618'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2012/01/orientado-objetos.html' title='Orientado a Objetos'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-1681614148836647711</id><published>2011-10-29T18:31:00.000-04:00</published><updated>2011-10-29T18:31:25.875-04:00</updated><title type='text'>Herencia en c#</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-size: large;&quot;&gt;Herencia en C#&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;Hola a qui les dejo un exa de Herencia pasado.&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/AVvXsEhklVm9GCl-3cQOOSTtK5yP_5tcUFM9Suk33-fhZlaIhp7E42Fe5zk46ZX0xUerObQoxa8fHvw4bmE9VXFMMyZwiH94fEA2Vx0OAkW1HcY_Bt9zeuZ2OJpONFu6cDePyjyzoKjuqP6MQHVP/s1600/exa_herencia.png&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/AVvXsEhklVm9GCl-3cQOOSTtK5yP_5tcUFM9Suk33-fhZlaIhp7E42Fe5zk46ZX0xUerObQoxa8fHvw4bmE9VXFMMyZwiH94fEA2Vx0OAkW1HcY_Bt9zeuZ2OJpONFu6cDePyjyzoKjuqP6MQHVP/s640/exa_herencia.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Su enunciado Respectivo de la Lic Tarquino.&lt;br /&gt;
&lt;br /&gt;
Link de Descarga&lt;br /&gt;
&lt;br /&gt;
&lt;pre ;=&quot;&quot; class=&quot;brush: html&quot; java&quot;=&quot;&quot;&gt;http://www.megaupload.com/?d=RRZQ5HUQ
&lt;/pre&gt;&lt;pre ;=&quot;&quot; class=&quot;brush: html&quot; java&quot;=&quot;&quot;&gt;&lt;/pre&gt;&lt;pre ;=&quot;&quot; class=&quot;brush: html&quot; java&quot;=&quot;&quot;&gt;Saludos.&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/1681614148836647711/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/10/herencia-en-c.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1681614148836647711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1681614148836647711'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/10/herencia-en-c.html' title='Herencia en c#'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhklVm9GCl-3cQOOSTtK5yP_5tcUFM9Suk33-fhZlaIhp7E42Fe5zk46ZX0xUerObQoxa8fHvw4bmE9VXFMMyZwiH94fEA2Vx0OAkW1HcY_Bt9zeuZ2OJpONFu6cDePyjyzoKjuqP6MQHVP/s72-c/exa_herencia.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-2658352446766735955</id><published>2011-08-28T12:03:00.000-04:00</published><updated>2011-08-28T12:03:51.326-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Mail hotmail"/><category scheme="http://www.blogger.com/atom/ns#" term="REV 03"/><title type='text'>Rev 03 de JAVA MAILER</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #edeff4; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 12px;&quot;&gt;&lt;a href=&quot;http://sourceforge.net/projects/correosjava/files/3_rev/&quot; rel=&quot;nofollow&quot; style=&quot;color: #3b5998; cursor: pointer; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;&lt;span&gt;http://sourceforge.net/pro&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span class=&quot;word_break&quot; style=&quot;display: block; float: left; margin-left: -10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/span&gt;&lt;span&gt;jects/correosjava/files/3_&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span class=&quot;word_break&quot; style=&quot;display: block; float: left; margin-left: -10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/span&gt;rev/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Te permite enviar correo a varios destinatarios separados por una coma&lt;br /&gt;
Ejemplo&lt;br /&gt;
correo@correo.com,correo2@correo.com&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/2658352446766735955/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/rev-03-de-java-mailer.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/2658352446766735955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/2658352446766735955'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/rev-03-de-java-mailer.html' title='Rev 03 de JAVA MAILER'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-3492169312781725817</id><published>2011-08-28T12:01:00.000-04:00</published><updated>2011-08-28T12:01:08.107-04:00</updated><title type='text'>Practica de INF-121 2/2011</title><content type='html'>&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/AVvXsEjiV3Ly2Q0yV1Yet1i9e5QxLWRwd59H6gnBUqM5ECxbV0tPklYTG8EoqPVE4sM1ivUP8ycJQOfe0T3aOfNKuBrsxnbgLVFZ86vE6uKXruf9UaGEHtX5g2w7r53qbaqRZt1KsLkVwCqnJEAN/s1600/Sin+t%25C3%25ADtulo.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;526&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiV3Ly2Q0yV1Yet1i9e5QxLWRwd59H6gnBUqM5ECxbV0tPklYTG8EoqPVE4sM1ivUP8ycJQOfe0T3aOfNKuBrsxnbgLVFZ86vE6uKXruf9UaGEHtX5g2w7r53qbaqRZt1KsLkVwCqnJEAN/s640/Sin+t%25C3%25ADtulo.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://dl.dropbox.com/u/23754437/Inf-121/Gu%C3%ADa%20De%20Pr%C3%A1cticas%20%5BLab-121%5D%5B2-11%5D.pdf&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Descargar&amp;nbsp;&lt;/span&gt;&lt;/a&gt;la Practica de INF-121&lt;br /&gt;
Fuente :&amp;nbsp;soloinformaticayalgomas.blogspot.com&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/3492169312781725817/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/practica-de-inf-121-22011.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/3492169312781725817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/3492169312781725817'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/practica-de-inf-121-22011.html' title='Practica de INF-121 2/2011'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiV3Ly2Q0yV1Yet1i9e5QxLWRwd59H6gnBUqM5ECxbV0tPklYTG8EoqPVE4sM1ivUP8ycJQOfe0T3aOfNKuBrsxnbgLVFZ86vE6uKXruf9UaGEHtX5g2w7r53qbaqRZt1KsLkVwCqnJEAN/s72-c/Sin+t%25C3%25ADtulo.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-530351215481680689</id><published>2011-08-03T00:12:00.000-04:00</published><updated>2011-08-03T00:12:16.052-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CODIGO FUENTE"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA MAILER"/><title type='text'>Proyecto Enviar Correo desde Java 2 Codigo fuente</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;a href=&quot;https://sourceforge.net/projects/correosjava/files/2_ver/Mailer_Rev_02.rar/download&quot;&gt;DESCARGAR&amp;nbsp;&lt;/a&gt;&amp;nbsp; Rev_02&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/530351215481680689/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/proyecto-enviar-correo-desde-java-2.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/530351215481680689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/530351215481680689'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/proyecto-enviar-correo-desde-java-2.html' title='Proyecto Enviar Correo desde Java 2 Codigo fuente'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-1664913720338554810</id><published>2011-08-01T21:18:00.000-04:00</published><updated>2011-08-01T21:18:10.493-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Correo Electronico"/><category scheme="http://www.blogger.com/atom/ns#" term="Enviador"/><category scheme="http://www.blogger.com/atom/ns#" term="JAR"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Mail hotmail"/><title type='text'>INF-121: Proyecto Enviar Correo desde Java 2</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Hola a qui les dejo un pequeño proyecto en su&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;segunda etapa&amp;nbsp;&lt;/span&gt;&amp;nbsp;lo que hace es enviar un correo&amp;nbsp;electrónico&amp;nbsp;a&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px;&quot;&gt;--------&amp;gt; Hotmail&lt;/span&gt;&lt;div style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px; text-align: justify;&quot;&gt;--------&amp;gt; Gmail&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px; text-align: justify;&quot;&gt;Si quieren q ponga mas servidores avisan como yahoo ,etc&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Tinos;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;En esta&amp;nbsp;entrega&amp;nbsp;cuenta con Interfaz&amp;nbsp;gráfica&amp;nbsp;espero q les guste&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Tinos;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;Algunas capturas del programa,&amp;nbsp;sigue&amp;nbsp;siendo un poco arcaico le faltan validaciones,etc&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Tinos;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;El codigo fuente ?¿&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Tinos;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;Muy pronto lo&amp;nbsp;subiré&amp;nbsp;je je por el momento&amp;nbsp;solo&amp;nbsp;el programa&amp;nbsp;&lt;/span&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/AVvXsEgLAjm5wXVjwR1M9xpDRlykbY1Syc73wBPqNaxZRU_pcq3TaF_Aqh1qTgkplFfA938bSchhJALC5QaE-hmrZmOKrpDkZEByMWtA07SNMIeX90QDW6vq0cWfeDI623_2dJvMXo4EW99e2QE4/s1600/cap1.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLAjm5wXVjwR1M9xpDRlykbY1Syc73wBPqNaxZRU_pcq3TaF_Aqh1qTgkplFfA938bSchhJALC5QaE-hmrZmOKrpDkZEByMWtA07SNMIeX90QDW6vq0cWfeDI623_2dJvMXo4EW99e2QE4/s400/cap1.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&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/AVvXsEgM1OU8jaYd0EMdk9DIBUYiPdg_pkevn8Q9Ch1kQP1aKn8B4UlHkdbFkOBJXkgmN9KMpiEXmGvHZPb5tOpRQWDaXgI7DMDG5U4WfoafwdNrmjF7hHVk6gaaMtLeoCEKllxQSfGghRJ5KotX/s1600/cap2.bmp&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/AVvXsEgM1OU8jaYd0EMdk9DIBUYiPdg_pkevn8Q9Ch1kQP1aKn8B4UlHkdbFkOBJXkgmN9KMpiEXmGvHZPb5tOpRQWDaXgI7DMDG5U4WfoafwdNrmjF7hHVk6gaaMtLeoCEKllxQSfGghRJ5KotX/s640/cap2.bmp&quot; width=&quot;529&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tinos;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;Saludos.&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://sourceforge.net/projects/correosjava/files/2_ver/Mailer_Rev_02.rar/download&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;DESCARGAR&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Tinos; font-size: 14px; line-height: 20px; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/1664913720338554810/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/inf-121-proyecto-enviar-correo-desde.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1664913720338554810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1664913720338554810'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/08/inf-121-proyecto-enviar-correo-desde.html' title='INF-121: Proyecto Enviar Correo desde Java 2'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLAjm5wXVjwR1M9xpDRlykbY1Syc73wBPqNaxZRU_pcq3TaF_Aqh1qTgkplFfA938bSchhJALC5QaE-hmrZmOKrpDkZEByMWtA07SNMIeX90QDW6vq0cWfeDI623_2dJvMXo4EW99e2QE4/s72-c/cap1.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-1546574139301814279</id><published>2011-07-31T17:39:00.002-04:00</published><updated>2011-07-31T18:06:49.402-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gmail"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Mail hotmail"/><title type='text'>Proyecto Enviar Correo desde Java 1</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;Hola a qui les dejo un pequeño proyecto en su &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;primera etapa &lt;/span&gt;&amp;nbsp;lo que hace es enviar un correo&amp;nbsp;electrónico&amp;nbsp;a &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;--------&amp;gt; Hotmail&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;--------&amp;gt;&amp;nbsp;Gmail&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&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/AVvXsEh-wtPyrNEQBa2-1rgdHxq4JwKblYBk1sDo3qrXS1-NBnWX7EnEQ_TBpLNQKr6RUJD6T_bpZyN5e2GCc8IvPgChBBM5HtapCcXBWthvOdnygujWO6yHthG9mRjIqlgVmKuTt50mAVG43y7T/s1600/logo1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: right;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-wtPyrNEQBa2-1rgdHxq4JwKblYBk1sDo3qrXS1-NBnWX7EnEQ_TBpLNQKr6RUJD6T_bpZyN5e2GCc8IvPgChBBM5HtapCcXBWthvOdnygujWO6yHthG9mRjIqlgVmKuTt50mAVG43y7T/s320/logo1.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: left;&quot;&gt;Por el momento solo corre en consola ya&amp;nbsp;estará&amp;nbsp;con entorno&amp;nbsp;gráfico&amp;nbsp;y mas funciones saludos .&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Si puensas copiar este material pon por lo menos la pagina de donde la sacaste ok.&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://sourceforge.net/projects/correosjava/files/1%20ver/1mailer%20sam.rar/download&quot;&gt;Descargar&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/1546574139301814279/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/07/proyecto-enviar-correo-desde-java-1.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1546574139301814279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/1546574139301814279'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/07/proyecto-enviar-correo-desde-java-1.html' title='Proyecto Enviar Correo desde Java 1'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-wtPyrNEQBa2-1rgdHxq4JwKblYBk1sDo3qrXS1-NBnWX7EnEQ_TBpLNQKr6RUJD6T_bpZyN5e2GCc8IvPgChBBM5HtapCcXBWthvOdnygujWO6yHthG9mRjIqlgVmKuTt50mAVG43y7T/s72-c/logo1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-6915133369226524048</id><published>2011-07-20T22:45:00.000-04:00</published><updated>2011-07-20T22:45:35.905-04:00</updated><title type='text'>Proyecto Recordatorio 1º parte</title><content type='html'>Es una pequeña&amp;nbsp;aplicación&amp;nbsp;que trata sobre la&amp;nbsp;creación&amp;nbsp;de recordatorios de escritorio je je&lt;br /&gt;
&lt;a href=&quot;http://www.megaupload.com/?d=FM6JQSWG&quot;&gt;Descargar&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/6915133369226524048/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/07/proyecto-recordatorio-1-parte.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/6915133369226524048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/6915133369226524048'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/07/proyecto-recordatorio-1-parte.html' title='Proyecto Recordatorio 1º parte'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-4003319153772698839</id><published>2011-05-09T22:31:00.000-04:00</published><updated>2011-05-09T22:31:47.384-04:00</updated><title type='text'>Agregación y Composición</title><content type='html'>Hola aqui les dejo una presentacion de como implementar Agregación y Composición en JAVA y en c# es casi lo mismo.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.megaupload.com/?d=AX18ZEMT&quot;&gt;Descargar&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Un Agregación y Composición&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.megaupload.com/?d=G6YFWBSD&quot;&gt;Descargar&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/4003319153772698839/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/05/agregacion-y-composicion.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/4003319153772698839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/4003319153772698839'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/05/agregacion-y-composicion.html' title='Agregación y Composición'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-6374377015673451913</id><published>2011-05-01T15:12:00.004-04:00</published><updated>2012-01-15T12:11:44.617-04:00</updated><title type='text'>Cadenas de Texto en C#</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Hola les dejo un codigo muy interesante, bueno no tanto je je, lo que hace este codigo es simplemente modificar una cadena en cualquier posicion que se quiera, recordando que las cadenas no se pueden modificar.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: csharp&quot;&gt;using System;
using System.Text;
public class hola
{

 public static void Main ()
 {
  StringBuilder cadena = new StringBuilder (&quot;Pelas&quot;);
  Console.WriteLine (cadena);
  String cadenaIn;
  cadena[0] = &#39;V&#39;;
  cadenaIn = cadena.ToString ();
  Console.WriteLine (cadenaIn);
 }
}

&lt;/pre&gt;Lo que hace esto es borrar una parte de la cadena y guardarla en otra cadena.&lt;br /&gt;
&lt;pre class=&quot;brush: csharp&quot;&gt;using System;
public class remo
{

 public static void Main ()
 {
  String cad1=&quot;HOLA&quot;;
  String cad2=cad1.Remove(0,1);

  Console.WriteLine (cad1);
  Console.WriteLine (cad2);
 }
}

&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/6374377015673451913/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/05/cadenas-de-texto-en-c.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/6374377015673451913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/6374377015673451913'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/05/cadenas-de-texto-en-c.html' title='Cadenas de Texto en C#'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-7288657649121040589</id><published>2011-04-26T20:00:00.001-04:00</published><updated>2011-04-30T09:18:52.042-04:00</updated><title type='text'>3er ON LINE ACM</title><content type='html'>&lt;span class=&quot;ecxApple-style-span&quot; style=&quot;font-family: Tahoma; font-size: x-small;&quot;&gt;La fecha para el ON-LINE ES EL&amp;nbsp;SÁBADO&amp;nbsp;EN LA TARDE AQUI EL MENSAJE Q LO CONFIRMA&lt;/span&gt;&lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Tahoma; font-size: 10pt;&quot;&gt;&lt;span class=&quot;ecxApple-style-span&quot; style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;Los&amp;nbsp;últimos&amp;nbsp;dos&amp;nbsp;días&amp;nbsp;se  genero un espacio para analizar la coincidencia de la competencia de la  UCB y los online que siempre&amp;nbsp;serán&amp;nbsp;el ultimo&amp;nbsp;sábado&amp;nbsp;de cada mes.&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;He  conversado con los organizadores de la competencia en la UCB y hemos  decidido que el online sea por la tarde confirmando el mensaje de Alvaro  Medina:&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&amp;gt;&amp;gt;a solicitud de varias personas el concurso online de este Sabado 30 de Abril sera por el turno de la tarde.&lt;br style=&quot;line-height: 17px;&quot; /&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&amp;gt;&amp;gt;Hora Inicio: 2:00 PM&lt;br style=&quot;line-height: 17px;&quot; /&gt;&amp;gt;&amp;gt;duracion: 5 horas&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&amp;gt;&amp;gt;para  los concursantes de la UCB tengo entendido que el concurso comienza a  las 2:30 PM asi que ambos concursos contemplaran el mismo puntaje en  los&amp;nbsp;&amp;gt;&amp;gt;problemas para el tema del ranking nacional de programadores  (El Online no sera trasladado al domingo).&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;Sobre  la&amp;nbsp;puntuación&amp;nbsp;en el ranking nacional de programadores (individual) si  el Jefe de Carrera de Sistemas de la UCB lo aprueba y solo para quienes  lo soliciten se&amp;nbsp;validaría&amp;nbsp;el puntaje obtenido en dicha competencia como  si hubiera participado en el online como los demas.&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;Es  bueno considerar para futuros eventos, repetir la modalidad que tenemos  en la final latinoamericana donde el examen se libera en Valladolid  cuando todas las sedes inician su competencia, asi se comparte las  competencias y generan mas inclusion y medicion de nivel de los  competidores entre los internos y externos.&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;Con esto cerramos las dudas y confusiones, el online de este sabado se confirma a las&amp;nbsp;&lt;b style=&quot;font-weight: bold; line-height: 17px;&quot;&gt;2 de la tarde&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;&lt;br style=&quot;line-height: 17px;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;Willmar A. Pimentel&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt;-------------------&lt;/div&gt;&lt;div style=&quot;color: #2a2a2a; font-family: Tahoma,Verdana,Arial,sans-serif; line-height: 17px;&quot;&gt; &lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
El link para ingresar al concurso es el siguiente: &lt;a href=&quot;https://www.spoj.pl/ACMBO2/&quot; target=&quot;_blank&quot;&gt;https://www.spoj.pl/ACMBO2/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
cabe  recalcar que a partir de este ONLINE el concurso es estrictamente  individual y cualquier cuenta que sea manejada como grupal no sera  valida para el puntaje final que entrara en el ranking nacional de  programadores.&lt;br /&gt;
&lt;br /&gt;
Es necesario que aquellas personas que  participaron en el anterior online con una cuenta grupal vuelvan a  registrarse de manera individual, el manual de inscripcion esta  disponible en la pagina del grupo de la ACM ICPC Bolivia.&lt;br /&gt;
&lt;br /&gt;
no se olviden que el nuevo grupo en el SPOJ se llama &quot;&lt;a href=&quot;https://www.spoj.pl/ACMBO2/groups/1510/&quot; target=&quot;_blank&quot;&gt;Bolivia Programming Contest 2011&lt;/a&gt;&quot; y para adicionarse al mismo deben ingresar la contraseña: acmicpcbolivia2011&lt;br /&gt;
&lt;br /&gt;
Si  existe algun problema al subir las soluciones de los problemas  planteados verifiquen primero si es que estan dentro del grupo, caso  contrario contactarse a mi mail, durante el concurso seguire  monitoreando ante cualquier eventualidad.&lt;br /&gt;
&lt;br /&gt;
SUERTE!!!&lt;br /&gt;
atte&lt;br /&gt;
Alvaro Javier Medina Balboa&lt;br /&gt;
&lt;br /&gt;
Fuente ACM-BOLIVIA.&lt;br /&gt;
&lt;br /&gt;
Las soluciones serán publicadas junto con los data sets en &lt;br /&gt;
&lt;a href=&quot;http://acm-umsa-ndwich.blogspot.com/&quot;&gt;http://acm-umsa-ndwich.blogspot.com/&lt;/a&gt; --&amp;gt; Blog de mi equipo ggg&lt;br /&gt;
&lt;br /&gt;
Saludos..&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/7288657649121040589/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/3er-on-line-acm.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7288657649121040589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7288657649121040589'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/3er-on-line-acm.html' title='3er ON LINE ACM'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-7683541271930418347</id><published>2011-04-12T20:06:00.000-04:00</published><updated>2011-04-12T20:06:57.396-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARGO UML"/><title type='text'>Creador de Diagramas de flujo</title><content type='html'>Este programa oz ayudara mucho al momento de presentar su informe pq te ayuda a hacer un diagrama decente, bien detallado y te lo genera&amp;nbsp;código&amp;nbsp;en distintos lenguajes te lo recomiendo OK.&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://siast.files.wordpress.com/2008/05/welcome_screenshot_0_16_1.gif?w=682&amp;amp;h=556&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;325&quot; src=&quot;http://siast.files.wordpress.com/2008/05/welcome_screenshot_0_16_1.gif?w=682&amp;amp;h=556&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;a href=&quot;http://argouml-downloads.tigris.org/nonav/argouml-0.32.2/ArgoUML-0.32.2-setup.exe&quot;&gt;DESCARGAR&lt;/a&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/7683541271930418347/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/creador-de-diagramas-de-flujo.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7683541271930418347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/7683541271930418347'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/creador-de-diagramas-de-flujo.html' title='Creador de Diagramas de flujo'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-2948362949184966929</id><published>2011-04-09T22:30:00.001-04:00</published><updated>2011-04-09T22:30:43.879-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Herencia POO UMSA INF 121"/><title type='text'>Herencia resuelto pregunta 1</title><content type='html'>Hola Aquí les dejo resuelto la practica de herencia primera pregunta cuando termine el resto lo subiré poco a poco, no tenia mucho tiempo para resolver los demás, si ven q algo esta mal o no saben q hice solo publiquen lo OK.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;a href=&quot;http://www.megaupload.com/?d=WD55N2DG&quot;&gt;DESCARGAR&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
SALUDOS.&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/2948362949184966929/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/herencia-resuelto-pregunta-1.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/2948362949184966929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/2948362949184966929'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/herencia-resuelto-pregunta-1.html' title='Herencia resuelto pregunta 1'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5945697824261989454.post-6134043745129320504</id><published>2011-04-08T23:39:00.002-04:00</published><updated>2012-01-15T12:06:08.622-04:00</updated><title type='text'>Numeros Primos</title><content type='html'>Encuentra los numeros primos desde x hasta y, en este caso utilizamos una libreria llamada BigInteger, es muy interesante y mas rápido.&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;import java.math.BigInteger;
import java.util.Scanner;

class Main3 {
 public static void main(String[] args) {
  Scanner sc = new Scanner(System.in);
  BigInteger primo = BigInteger.ONE;
  int sw = 0;
  int in = sc.nextInt();
  int fin = sc.nextInt();
  for (int i = in; i &lt;= fin; i++) {
   primo = BigInteger.valueOf(i);
   if (primo.isProbablePrime(1)) {
    System.out.println(i + &quot; &quot;);
   }
  }
 }
}
&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;starsaminf&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inf-121-lab.blogspot.com/feeds/6134043745129320504/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/numeros-primos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/6134043745129320504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5945697824261989454/posts/default/6134043745129320504'/><link rel='alternate' type='text/html' href='http://inf-121-lab.blogspot.com/2011/04/numeros-primos.html' title='Numeros Primos'/><author><name>SAmuel</name><uri>http://www.blogger.com/profile/05653293990038813311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64tfKnjMsQegSlMwdVRhPWR50cn4z-RRd5ErDSfbSe5FKxogevdVG6Hs1mhWXd2fg7eG2ARj4LavToSJvjw_92TjcXhVwuihF-pD9LLnX-4xvjt_CNn3TMcBMOXFxA/s220/186637_1416654237_1939483_n.jpg'/></author><thr:total>0</thr:total></entry></feed>