i m quite new to java programming...pls tell me the mistake in the following programme...



class CharStack{

/*Declaration of member variables*/

char[]stackArray;
int topOfStack;