About 10,200,000 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. 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 …

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

  4. java - Extracting .jar file with command line - Stack Overflow

    Dec 10, 2011 · Java has a class specifically for zip files and one even more specifically for Jar Files. java.util.jar.JarOutputStream java.util.jar.JarInputStream using those you could, on a …

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

  6. 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 63k times

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

  8. java - JVM option -Xss - What does it do exactly? - Stack Overflow

    Feb 11, 2011 · It says here that -Xss is used to "set thread stack size", what does it mean exactly? Could anyone help me understand this?

  9. java - What is a classpath and how do I set it? - Stack Overflow

    Mar 7, 2010 · I was just reading this line: The first thing the format() method does is load a Velocity template from the classpath named output.vm Please explain what was meant by …

  10. Proper usage of Java -D command-line parameters

    When passing a -D parameter in Java, what is the proper way of writing the command-line and then accessing it from code? For example, I have tried writing something like this...