This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bo.edu.ubilapaz; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Pos; | |
import javafx.scene.Scene; | |
import javafx.scene.control.DatePicker; | |
import javafx.scene.control.Label; | |
import javafx.scene.layout.HBox; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bo.edu.ubilapaz; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.Label; | |
import javafx.scene.image.Image; | |
import javafx.scene.image.ImageView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bo.edu.ubilapaz; | |
/** | |
* Created by HP-PC on 29/03/2017. | |
*/ | |
public class Archivo { | |
private String nombre; | |
private String extension; | |
private double peso; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bo.edo.ubi; | |
/** | |
* Created by HP-PC on 28/03/2017. | |
*/ | |
public class Documento { | |
private String nombre; | |
private String extencion; | |
private int nroHojas; | |
private String tipoImpresion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bo.edo.ubi; | |
import java.util.*; | |
public class Main { | |
public static void main(String[] args) { | |
Paciente p1 = new Paciente("Juan", "Hombre", 15); | |
Paciente p2 = new Paciente("Maria", "Mujer", 17); | |
Paciente p3 = new Paciente("Pablo", "Hombre", 11); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ejemploarraylist; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
public class ejemploArrayList { | |
public static void main(String[] args) { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bo.edu.ubi; | |
/** | |
* Created by HP-PC on 04/03/2017. | |
*/ | |
public class Cancion { | |
private String nombre; | |
private String artista; | |
private String albun; | |
private int duracion; |