About 13,600,000 results
Open links in new tab
  1. What is the percent % operator in java? - Stack Overflow

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

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

    Even though this name does not convey the complete meaning of the operator, it is a name that has stuck. If you mention the name "ternary operator", programmers know what you are …

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

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

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

  8. operators - Java += meaning - Stack Overflow

    I have seen this symbol/operator in a block of code: a+=1; But I cannot figure out what it does. Can someone help me please?

  9. Meaning of :: in Java syntax - Stack Overflow

    Nov 19, 2014 · Method reference is one of the features belonging to Java lambda expressions. Method reference can be expressed using the usual lambda expression syntax format using …

  10. What does <T> (angle brackets) mean in Java? - Stack Overflow

    I am currently studying Java and have recently been stumped by angle brackets (<>). What exactly do they mean? public class Pool<T> { public interface PoolFactory<T> { publ...