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

    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 447k times

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

    In particular, if Java ever gets another ternary operator, people who use the term "conditional operator" will still be correct and unambiguous - unlike those who just say "ternary operator".

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

    0 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: == Operator: The == operator …

  4. Is there a difference between x++ and ++x in java?

    Jul 7, 2009 · 12 In Java there is a difference between x++ and ++x ++x is a prefix form: It increments the variables expression then uses the new value in the expression. For example if used in code: int x = …

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

    That's part of the syntax of the new lambda expressions, to be introduced in Java 8. There are a couple of online tutorials to get the hang of it, here's a link to one. Basically, the -> separates the parameters …

  6. 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 JAR file is the source of …

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

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

  9. java - "PKIX path building failed" and "unable to find valid ...

    Jan 12, 2014 · 138 After many hours trying to build cert files to get my Java 6 installation working with the new twitter cert's, I finally stumbled onto an incredibly simple solution buried in a comment in one …

  10. 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, type java from …