An import statement is not required if you prepend package names to your class names:
import java.io.*; import java.util.*; public class Demonstrate { public static void main(String argv[]) { Vector mainVector; mainVector = onto.java.entertainment.Auxiliaries.readMovieFile("input.data"); for (Iterator i = mainVector.iterator(); i.hasNext();) { System.out.println( ((onto.java.entertainment.Movie)(i.next())).rating()); } } }