Skip to content

Instantly share code, notes, and snippets.

@JDRamosC
JDRamosC / Main.java
Created May 15, 2017 21:00
JD Ramos - Practica DatePicker
View Main.java
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;
@JDRamosC
JDRamosC / Main.java
Created May 8, 2017 22:21
JD Ramos - Piedra, papel o tijeras
View Main.java
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;
@JDRamosC
JDRamosC / Archivo.java
Created March 30, 2017 22:31
Juan Daniel Ramos - Examen I
View Archivo.java
package bo.edu.ubilapaz;
/**
* Created by HP-PC on 29/03/2017.
*/
public class Archivo {
private String nombre;
private String extension;
private double peso;
@JDRamosC
JDRamosC / Documento.java
Created March 28, 2017 14:37
Juan Daniel Ramos - Ejercicio en Clases
View Documento.java
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;
@JDRamosC
JDRamosC / Main.java
Created March 27, 2017 17:45
Juan Daniel Ramos Catari - Practica 4
View Main.java
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);
@JDRamosC
JDRamosC / Métodos.java
Created March 6, 2017 22:21
JDRamosC - Métodos ArrayList de Java
View Métodos.java
package ejemploarraylist;
import java.util.ArrayList;
import java.util.Iterator;
public class ejemploArrayList {
public static void main(String[] args) {
@JDRamosC
JDRamosC / Canciones.java
Created March 6, 2017 22:16
JDRamosC - Práctica Nro. 1 - Ingenieria en Sistemas
View Canciones.java
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;