Regarding stack used in the editorial solution code

we can write stackusingArrays class taught in the lectures. but here the stack used, Is it inbuilt stack from the java util package?