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

  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. in java what does the @ symbol mean? - Stack Overflow

    Aug 5, 2015 · The @ symbol denotes a Java Annotation. What a Java annotation does, is that it adds a special attribute to the variable, method, class, interface, or other language elements. …

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

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

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

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

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

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

  9. What does Java option -Xmx stand for? - Stack Overflow

    java -Xmx1024m filename what does -Xmx mean?see here: Java Tool Doc, it says, -Xmxn Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple …

  10. Remote debugging a Java application - Stack Overflow

    Jun 10, 2009 · I have a java application running on linux machine. I run the java application using the following: java myapp -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000, …