Package prototype

Examples of prototype.People


   * @param args
   */
   
  public static void main(String[] args) {
    // TODO Auto-generated method stub
    People oPeople = People.getPrototype();

    System.out.println("Edad "+oPeople.getAge()+ " Nombre"+oPeople.getName());
   
    People oPeople2 = People.getPrototype();

    oPeople2.setName("Victor Aravena");
    System.out.println("Edad "+oPeople2.getAge()+ " Nombre "+oPeople2.getName());
     

    System.out.println("Edad "+oPeople.getAge()+ " Nombre"+oPeople.getName());

  }
View Full Code Here

TOP

Related Classes of prototype.People

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.