Java Compilation Error While Defining A String Stack

Java Compilation Error While Defining A String Stack