About 7,490,000 results
Open links in new tab
  1. What is the percent % operator in java? - Stack Overflow

    May 15, 2017 · Here it is used to get each digit. Example: Say your number is n = 752. n%10 = 2, n/10 = 75 So you add 2 to the sumDigits(75) Now, n%10 = 75%10 = 5. This is the digit to be …

  2. How to set the environment variables for Java in Windows

    Nov 4, 2009 · Step 5: Enter the Variable name as JAVA_HOME and the value to your jdk bin path ie c:\Programfiles\Java\jdk-1.6\bin and NOTE Make sure u start with .; in the Value so that it …

  3. Setting JAVA_HOME environment variable in MS Windows

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

  4. wait - How do I make a delay in Java? - Stack Overflow

    How do I make a delay in Java? Asked 11 years, 4 months ago Modified 8 months ago Viewed 2.3m times

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

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

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

  7. java - ¿Cómo funciona el operador %? - Stack Overflow en español

    Alguno me puede explicar cómo funciona el operador %: ¿Qué es?¿Cuál es la lógica detrás de ese operador?¿Qué es lo que hace y qué es lo que devuelve? Por ejemplo, el siguiente …

  8. java - What does a "Cannot find symbol" or "Cannot resolve …

    Another example of this is when you use (Java 9+) java SomeClass.java to compile and run a class. If the class depends on another class that you haven't compiled (or recompiled), you are …

  9. How to know the jdk version on my machine? - Stack Overflow

    Feb 16, 2023 · Java Runtime JRE and the Java development kit JDK are two separate things. If you want to check the version of the Java compiler used within your local JDK use javac -version.

  10. What does the ^ operator do in Java? - Stack Overflow

    Jan 2, 2010 · It is the Bitwise xor operator in java which results 1 for different value of bit (ie 1 ^ 0 = 1) and 0 for same value of bit (ie 0 ^ 0 = 0) when a number is written in binary form.