// File: LetterQueue.skeleton // Time-stamp: "2005-12-27 21:02:32 calvanese" // Purpose: Written exam 2/2/2005 - BSc in Computer Science (6CFU) // LetterQueue: skeleton of the class public class LetterQueue { // representation of the objects private String city; private String[] queue; private int next; // pubblic methods public LetterQueue(String c, int size) { } public String getCity() { } public int size() { } public void newLetter(String letter) throws LetterQueueException { } public String firstLetter() throws LetterQueueException { } public void removeLetter() throws LetterQueueException { } public int numLetters() { } public String letter(int pos) throws LetterQueueException { } public int[] shortLetters(int len) { } }