fork(1) download
  1. import java.util.*;
  2.  
  3. class Main {
  4. public static void main(String[] args) {
  5. ArrayList<Estudante> lista = new ArrayList<Estudante>();
  6. List<Estudante> lista1 = new ArrayList<Estudante>();
  7. ArrayList<Estudante> lista2 = new ArrayList<>();
  8. }
  9. }
  10.  
  11. class Estudante {
  12. private int numero;
  13. private String nome;
  14. public Estudante(int numero, String nome) {
  15. this.numero = numero;
  16. this.nome = nome;
  17. }
  18. }
  19.  
  20. //https://pt.stackoverflow.com/q/159865/101
Success #stdin #stdout 0.06s 32480KB
stdin
Standard input is empty
stdout
Standard output is empty