Skip to content
RED SAG Skills
hardStudy question · answer published in Java interview questions, so no pointsstacks-and-queuesjava

Java Stack class or ArrayDeque

A Java code review flags new java.util.Stack<Integer>() in a hot path. What does the Java documentation recommend instead, and why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions