Clases En Netbeans
Package SistemaMatriculacio;
public class SistemaMatriculacio {
public static void main(String[] args) {
Datos x=new DatosMatricula();
Datos y=newEstudiante();
Datos z=new Padres();
Datos p=new Representante();
x.Ingreso();
y.Ingreso();
z.Ingreso();
p.Ingreso();
}
}
*** CLASES ***
Package SistemaMatriculacio;Import java.util.Scanner;
public abstract class Datos {
abstract void Ingreso();
}
/*
* ESTA CLASE ESPARA INGRESAR LOS DATOS DE LA MATRICULA
*/
Class DatosMatricula extends Datos{Scanner x=new Scanner(System.in);
String AñoLectivo;
String Fecha_Metriculacion;
Int cont=0;
@Override
void Ingreso(){System.out.println("***********************************");
System.out.println("** ESCUELA FISCAL MIXTA **");
System.out.println("** HELLEN KELLER **");
System.out.println("***********************************");System.out.println("");
System.out.print("AÑO LECTIVO: ");
AñoLectivo=x.nextLine();
System.out.println("Nº MATRICULA: " + cont+1);
System.out.print("FECHA DEMATRICULACION: ");
Fecha_Metriculacion=x.nextLine();
}
}
/*
* ESTA CLASE ESPARA INGRESAR LOS DATOS DEL ESTUDIANTE
*/
Class Estudiante extends Datos{
Scanner z=newScanner(System.in);
String Nombre;
StringLugar_Nacimiento;
String Fecha_Nacimiento;
String Esc_Procede;
String AñoBasic_Anterior;
@Override
void Ingreso() {System.out.print("APELLIDOS Y NOMBRES DEL ALUMNO: ");
Nombre=z.nextLine();
System.out.print("LUGAR DE NACIMIENTO: ");
Lugar_Nacimiento=z.nextLine();
System.out.print("FECHA DENACIMIENTO: ");
Fecha_Nacimiento=z.nextLine();
System.out.print("ESCUELA O JARDIN DE DONDE PROCEDE: ");
Esc_Procede=z.nextLine();
System.out.print("AÑO BASICO ANTERIOR:...
Regístrate para leer el documento completo.