About 10,500,000 results
Open links in new tab
  1. 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: == Operator: …

  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. java - What is a Question Mark "?" and Colon - Stack Overflow

    Apr 26, 2012 · The Java jargon uses the expression method, not functions - in other contexts there is the distinction of function and procedure, dependent on the existence of a return type, …

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

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

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

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

  7. java - How to view and edit cacerts file? - Stack Overflow

    Nov 24, 2015 · As far as the original question, you can use the keytool command to view and edit a keystore like cacerts. To view all keys in the keystore, use keytool -list: $ keytool -list …

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

  9. What is the difference between & and && in Java? - Stack Overflow

    Apr 9, 2011 · I always thought that && operator in Java is used for verifying whether both its boolean operands are true, and the & operator is used to do Bit-wise operations …

  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 …