click below
click below
Normal Size Small Size show me how
Java - Ch. 2
Java Chapter 2
Question | Answer |
---|---|
A computer program that executes when you use the java command to launch the Java Virtual Machine (JVM). | Java Application |
What are the three types of commenting? | comment (//) - one-line, traditional comment /* - */ - multiple line and Java docs /** */ |
public static void... | main(String[] args) |
\\ | Used to print a back slash |
All import declarations (like java.util.scanner) must appear before... | the first class declaration. |
By default this package is imported to every Java program by default | java.lang |
(Blank) is any portion of a statement that has a value associated with it. | An expression |
%d is a placeholder for a(n) (blank) and stands for (blank). | int, decimal integer |
True or False, Equality operators (==, !=) have a higher level of precedence than relational operators (>=, <). | False |
A string is sometimes called... | a character string or a string literal. |
A "cannot find symbol error" at compilation time portends what? | A failure to include an import declaration. |