About 4,610,000 results
Open links in new tab
  1. How do the post increment (i++) and pre increment (++i) …

    How do the post increment (i++) and pre increment (++i) operators work in Java? Asked 15 years, 8 months ago Modified 1 year, 5 months ago Viewed 448k times

  2. What is the Java ?: operator called and what does it do?

    It's a ternary operator (in that it has three operands) and it happens to be the only ternary operator in Java at the moment. However, the spec is pretty clear that its name is the conditional …

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

  4. What is the difference between == and equals () in Java?

    In Java, == and the equals method are used for different purposes when comparing objects. Here's a brief explanation of the difference between them along with examples:

  5. Setting JAVA_HOME environment variable in MS Windows

    JAVA_HOME if you installed the JDK (Java Development Kit) or JRE_HOME if you installed the JRE (Java Runtime Environment). In the Variable Value field, enter your JDK or JRE …

  6. java - Setting active profile and config location from command …

    Jun 25, 2015 · I was running it from eclipse and not command line till now. But I tried running from using "gradle bootRun -Dspring.config.location=C:\Config\ -Dspring.profiles.active=staging" …

  7. java - How to configure port for a Spring Boot application - Stack …

    How do I configure the TCP/IP port listened on by a Spring Boot application, so it does not use the default port of 8080.

  8. Java Versions and Compatibility - Stack Overflow

    Apr 10, 2023 · A Java Runtime Environment (JRE) is an implementation of the Java SE specifications, a complete Java platform, with all the software you need to execute an app …

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

  10. What are the -Xms and -Xmx parameters when starting JVM?

    Feb 7, 2013 · The flag Xmx specifies the maximum memory allocation pool for a Java Virtual Machine (JVM), while Xms specifies the initial memory allocation pool. This means that your …