/**
 * This class will implement the object cap
 * @author Miriam Castillo Torroba
 * @version 2.Oct.2014
 */

public class Cap {

	String numberT;
	
	/**
	 * This method will be the constructor of the class
	 * @param t the identifier of the cap
	 */
	public Cap(String t){
		this.numberT=t;
	}
}

/**
 * This class will implement the object cap
 * @author Pedro Manuel Gómez-Portillo López
 * @version 2.Oct.2014
 */

public class Cap {

	String numberT;
	
	/**
	 * This method will be the constructor of the class
	 * @param t the identifier of the cap
	 */
	public Cap(String t){
		this.numberT=t;
	}
}

Update Cap.java