About 8,320,000 results
Open links in new tab
  1. 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: …

  2. java - && (AND) and || (OR) in IF statements - Stack Overflow

    Java has 5 different boolean compare operators: &, &&, |, ||, ^ & and && are "and" operators, | and || "or" operators, ^ is "xor" The single ones will check every parameter, regardless of the …

  3. What is the percent % operator in java? - Stack Overflow

    May 15, 2017 · What is the percent % operator in java? Asked 8 years, 3 months ago Modified 4 years ago Viewed 64k times

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

  5. java - How to configure Tomcat max file count size - Stack Overflow

    Jun 18, 2025 · After updating to Tomcat 10.1.42, I started getting this error when uploading multiple files in a request: org.apache.tomcat.util.http.fileupload.impl ...

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

  7. Setting JAVA_HOME - Stack Overflow

    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 …

  8. java - Extracting .jar file with command line - Stack Overflow

    Dec 10, 2011 · Java has a class specifically for zip files and one even more specifically for Jar Files. java.util.jar.JarOutputStream java.util.jar.JarInputStream using those you could, on a …

  9. Remote debugging a Java application - Stack Overflow

    Jun 10, 2009 · Steps: Start your remote java application with debugging options as said in above post. Configure Eclipse for remote debugging by specifying host and port. Start remote …

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