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
import java.io.*; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.util.Scanner; | |
//linha por linha | |
public class Arquivo { |
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 prova; | |
public class Aluno { | |
private String nome; | |
private int matricula; | |
public Aluno(String nome, int matricula) { |
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 horario; | |
public class Horario { | |
private int hora; | |
private int minutos; | |
private int segundo; | |
public Horario(int hora) { |
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 locadora; | |
import java.util.Scanner; | |
import java.util.List; | |
import java.util.ArrayList; | |
public class Principal { | |
public static void main(String[] args) { |