javac ArrayStack.java
ArrayStack.java:3: error: cannot find symbol
public class ArrayStack
^
symbol: class Stack
1 error
Stack.java compiles without issue, they're in the same folder and package, and the IDE doesn't give any errors or suggestions (i tested in eclipse, vim is just used here because the split screen is helpful to show both files at once)