About 52 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 · The Sun page you link to has some key differences between the two: A nested class is a member of its enclosing class. Non-static nested classes (inner classes) have access to other …

  5. Java wrapper classes - change value of parameters

    Oct 8, 2021 · I keep seeing the following when I look up why use wrapper classes: Objects are needed if we wish to modify the arguments passed into a method (because primitive types are passed by …

  6. 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

  7. 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 …

  8. 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?

  9. 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 …

  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 …