click below
click below
Normal Size Small Size show me how
LHS_CompSci
| Question | Answer |
|---|---|
| 21. What is the output by the code below? System.out.print('abc"); | abc |
| 22. Never put a semicolon beofre an open what? | { |
| 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 a valid identifier in Java? | chicken |
| What is the newline character? | \n |
| What is the tab character? | \t |
| What is a correct char variable definition? | char c='c'; |
| What is a correct double variable definition? | double d=28.0; |