I am writing a code which has to write a a vector in a stream . For this purpose I am creating a streamwriter and writing the vector into it. I below give the coding and the error I get.
class StreamWriter { void handlestream(String[] str,Vector t) { Vector temp = new Vector();