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

  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. 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, 5 months ago Modified 1 year, 2 months ago Viewed 445k times

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

  5. What does the ^ operator do in Java? - Stack Overflow

    Jan 2, 2010 · Exponentiation in Java As for integer exponentiation, unfortunately Java does not have such an operator. You can use double Math.pow(double, double) (casting the result to int …

  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. 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 4 years ago Viewed 64k times

  8. in java what does the @ symbol mean? - Stack Overflow

    Aug 5, 2015 · In Java Persistence API you use them to map a Java class with database tables. For example @Table () Used to map the particular Java class to the date base table. @Entity …

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

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

    An interesting fact is that Java also uses the & and | as logic operands (they are overloaded, with int types they are the expected bitwise operations) to evaluate all the terms in the expression, …

Refresh