public int addmem(Member m) throws IOException, ClassNotFoundException{

		try{
			@SuppressWarnings("resource")
			ObjectInputStream osi = new ObjectInputStream(new FileInputStream("membercollection.txt"));///óϾ , Ͼ׳ϴ° ҽ߰
			this.setMemberCount(osi.readInt());
			this.collectionm.clear();
			for( int i= 0; i< this.getMemberCount();i++){
				Member ms = (Member)osi.readObject();
				this.collectionm.add(i,ms);
			}
		}catch(IOException e){
		}
		// membercollection.txtϿ ü о collecionm ߰ش.
		ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream("membercollection.txt"));
		int count = this.getMemberCount();
		this.setMemberCount(++count);
		this.collectionm.add(m);
		//߰Ϸ Member m collectionm ߰ش.
		oos.writeInt(this.getMemberCount());
		for(int i = 0; i<this.getMemberCount() ; i++){
			oos.writeObject(this.collectionm.elementAt(i));
		}
		System.out.println("ȸ Ϸ!");
		//߰ϰϴ member m  collctionm  Ͽ ش.
		return 1;
	}