About 51 results
Open links in new tab
  1. Reverse a string in Java - Stack Overflow

    I have "Hello World" kept in a String variable named hi. I need to print it, but reversed. How can I do this? I understand there is some kind of a function already built-in into Java that does th...

  2. What's the difference between map() and flatMap() methods in Java 8?

    Both map and flatMap can be applied to a Stream<T> and they both return a Stream<R>. The difference is that the map operation produces one output value for each input value, whereas the flatMap …

  3. java - Static Binding and Dynamic Binding - Stack Overflow

    May 20, 2013 · I am really confused about dynamic binding and static binding. I have read that determining the type of an object at compile time is called static binding and determining it at runtime …

  4. Static nested class in Java, why? - Stack Overflow

    Oct 1, 2012 · I was looking at the Java code for LinkedList and noticed that it made use of a static nested class, Entry.

  5. What is the difference between JDK and JRE? - Stack Overflow

    Dec 15, 2009 · Editors note: This question was asked in 2009 where the world was different. In 2022 the standard open sourced OpenJDK is JDK-only. What is the difference between JDK and JRE? What …

  6. operators - Use of "instanceof" in Java - Stack Overflow

    What is the &#39;instanceof&#39; operator used for? I learned that Java has the instanceof operator. Can you elaborate where it is used and what are its advantages?

  7. What is the difference between Java components (JRE, JDK, JVM, JIT, …

    Mar 17, 2017 · You might have done so much of google to find the answer of this question and came across a very boring diagram showing the architecture and interrelation between JVM, JRE and …

  8. node.js - bash: npm: command not found? - Stack Overflow

    Dec 1, 2020 · I'm learning laravel and follwing this tutorial, But when I went try and install npm, is says bash: npm: command not found

  9. solve 8-puzzle problem using A* algorithm in java

    Apr 24, 2023 · I'm working on problem using the A* algorithm to solve a 8-puzzle problem in Java. The problem asks for the optimal solution for the following transmission: 0 1 3 4 2 ...

  10. Do I need to set java JDK path in user variables or system variables ...

    Aug 11, 2020 · Now I saw in javaTpoint tutorial that they were setting the path in user variables didn't create any JAVA_HOME variable. So my question is what is the difference between the set path in …