About 4,530,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?

    Not only in Java, this syntax is available within PHP, Objective-C too. In the following link it gives the following explanation, which is quiet good to understand it: A ternary operator is some …

  3. What does the arrow operator, '->', do in Java? - Stack Overflow

    While hunting through some code I came across the arrow operator, what exactly does it do? I thought Java did not have an arrow operator. return (Collection<Car>) …

  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. What does the ^ operator do in Java? - Stack Overflow

    Jan 2, 2010 · 7 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. ex :- …

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

    Jun 11, 2024 · 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 …

  7. Setting JAVA_HOME environment variable in MS Windows

    JAVA_HOME and PATH are different, I didn't say point JAVA_HOME to the jre/bin directory. Try making sure that the PATH environment variable includes the jre/bin directory. For example, …

  8. java - SSL and cert keystore - Stack Overflow

    How does my Java program know where my keystore containing the certificate is? Or alternatively: How do I tell my Java program where to look for the keystore? After specifying …

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

  10. Java using "-cp" and "-jar" together - Stack Overflow

    Aug 21, 2012 · See the Jar tool reference page and the Jar trail of the Java Tutorial for information about working with Jar files and Jar-file mani- fests. When you use this option, the …