Guest User

Untitled

a guest
Sep 23rd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.62 KB | None | 0 0
  1. /**
  2.   *   la classe gestisce un archivio che contiene informazioni relative a studenti
  3.   *
  4.   *   @author Adriano Luchetta
  5.   *   @version 09-Nov-2007
  6.   *   @version 03-Nov-2005
  7.   *   @version 12-Nov-2004
  8.   *   @see Studente.java
  9.   */
  10.  
  11. import java.util.Scanner;
  12.  
  13. public class ArchivioStudenti
  14. {
  15.    // parte privata
  16.    private static final char CHAR_COMMENTO = '*';
  17.  
  18.    private Studente[] studente;
  19.    private int studenteSize;
  20.  
  21.    // parte pubblica
  22.  
  23.    /**
  24.       costruttore: inizializza un archivio vuoto.
  25.    */
  26.    public ArchivioStudenti()
  27.    {
  28.       studente = new Studente[1];
  29.       studenteSize = 0;
  30.    }
Add Comment
Please, Sign In to add comment