About 50 results
Open links in new tab
  1. 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 …

  2. 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 :- …

  3. How is the default max Java heap size determined?

    For Java SE 5: According to Garbage Collector Ergonomics [Oracle]: initial heap size: Larger of 1/64th of the machine's physical memory on the machine or some reasonable minimum. …

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

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

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

    Since java.lang.String class override equals method, It return true if two String object contains same content but == will only return true if two references are pointing to same object. Here is …

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

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

  8. 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, 10 months ago Modified 1 year, 7 months ago Viewed 449k times

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

  10. Including all the jars in a directory within the Java classpath

    Using Java 6 or later, the classpath option supports wildcards. Note the following: Use straight quotes (") Use *, not *.jar Windows java -cp "Test.jar;lib/*" my.package.MainClass Unix java …