About 52 results
Open links in new tab
  1. Stack push, pop, peek algorithms in Java - Stack Overflow

    Mar 13, 2013 · 0 If you want to use Stack data structure and you don't want to incur the cost of Synchronization then you can use Dequeue. Stack class available in Java extends Vector.

  2. Newest Questions - Stack Overflow

    23 hours ago · A collective for developers to engage, share, and learn about Microsoft Azure’s open-source frameworks, languages, and platform. This collective is organized and managed by the Stack …

  3. string - How do I copy a stack in Java? - Stack Overflow

    Oct 27, 2011 · The Stack class is a sub-class of AbstractList. Simply treat it like an AbstractList, iterate through the elements in the stack using the get(int index) method, from 0 to the length of your …

  4. Java and Different Types of Stacks - Stack Overflow

    Jun 15, 2010 · A stack is an abstract data type characterized by LIFO behaviour or push/pop operations A list is an abstract data type characterized by having its elemets accessible through a numerical …

  5. Newest 'java' Questions - Stack Overflow

    2 days ago · Java is a high-level, platform-independent, object-oriented, functional programming language and runtime environment. Sign up to watch this tag and see more personalized content

  6. java - What is a stack trace, and how can I use it to debug my ...

    About this question - quite often I see a question come through where a novice programmer is "getting an error", and they simply paste their stack trace and some random block of code without …

  7. callstack - What causes a java.lang.StackOverflowError - Stack Overflow

    Jul 8, 2010 · What can cause a java.lang.StackOverflowError? The stack printout that I get is not very deep at all (only 5 methods).

  8. Setting JAVA_HOME environment variable in MS Windows - Stack …

    14 Set the JAVA_HOME Variable Windows 7 – Right click My Computer and select Properties > Advanced Windows 8 – Go to Control Panel > System > Advanced System Settings Windows 10 – …

  9. Java JRE 64-bit download for Windows? - Stack Overflow

    50 I'm working on a web site project with a Java component and am currently testing for cross-browser compatibility. Most is fine but the Java part won't load on 64-bit browsers. Looks like I need a 64-bit …

  10. Getting random numbers in Java - Stack Overflow

    I would like to get a random value between 1 to 50 in Java. How may I do that with the help of Math.random();? How do I bound the values that Math.random() returns?