click below
click below
Normal Size Small Size show me how
LHS_COMPSCI
Question | Answer |
---|---|
What is the output of the code below? System.out.print("abc"); | abc |
Never put a semicolon before an open what? | Brace |
What is the ASCII value of 'b'? | 98 |
What is the ASCII value of 'B'? | 66 |
What can be used to comment code in Java? | // /* */ |
What is an example of valid identifier in Java? | totalPoints |
What is the new line character? | /n |
What is the tab character | /t |
What is an example of a correctly defined char variable? | char x = 'A'; |
What is an example of a correctly defined double variable? | double x = 4.3; |