package askisi_2;import askisi_2.Employee;import java.io.*;import java.util.Vector;public class Main { public static void main(String[] args) { Vector<Employee> myVector = new Vector(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); for (int k=0;k<10;k++) { String name = "", surname =""; try { System.out.print("Onoma: "); name = br.readLine(); } catch (Exception e) { // do the catch thing here... } try { System.out.print("Epitheto: "); surname = br.readLine(); } catch (Exception e) { // do the catch thing here... } Employee tmp = new Employee(name,surname,93874,3.5); myVector.add(tmp);// System.out.println(tmp); System.out.println(); } // end of for try { br.close(); } catch (Exception e) { // do the catch thing here.. } } // end of main} // end of class