click below
click below
Normal Size Small Size show me how
LHS_COMPSCI
LHS COMPSCI
Question | Answer |
---|---|
What is the output by the code below? System.out.print("abc") | abc |
Never put a semicolon before an open what? | { |
What is the ASCII value of 'B'? | 66 |
What is the ASCII value of 'b'? | 98 |
Which of the following can be used to comment code in java? | // |
Which of the following is a valid identifier in java? | Num1 |
Which of the following is the newline character? | \n |
Which of the following is the tab character? | \t |
which of the following line correctly defines a char variable? | char letter = 'A' |
which of the following line correctly defines a double variable? | double var1 = 281.1 |