Stack<String> s =  new Stack<>();
s.pop(); s.push(E e); s.peek();
List<String> s =  new ArrayList<>();
s.remove(s.size()-1); s.add(E e); s.get(s.size()-1);

둘이 뭔 차이임?

- dc official App