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

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

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

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

  10. How to display a color selector when clicking a button?

    Oct 26, 2014 · I'm making a program that draws some shapes and fills them with color. I need to change the 'line' color, and want the user to be able to select the color. How can I, when clicking a button …