Skip to content

Instantly share code, notes, and snippets.

View ecandiab's full-sized avatar

Esteban Candia ecandiab

  • Interplanetary Space
View GitHub Profile
@ecandiab
ecandiab / Figuras
Created June 18, 2015 15:30
cuadrado/rectangulo
package cuadradorectangulo;
public interface Figuras {
double area();
}
@ecandiab
ecandiab / Main.java
Last active August 29, 2015 14:22
Implementación de una pila
package stack;
public class Main {
public static void main(String[] args) throws Exception {
Stack s1 = new UnElemento();
System.out.println(s1.isEmpty());
System.out.println(s1.isFull());
s1.push("hola");
<!doctype html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Validador de RUT HTML5</title>
</head>
<body>
<form>
<input type="text" id="rut" name="rut" required oninput="checkRut(this)" placeholder="Ingrese RUT">
<button type="submit">Validar RUT y Enviar Form</button>