1) Which of the following is NOT a valid string in Java? a) "hello" b) "@#$" c) "123" d) "a" e) In Java, these are all valid strings. 2) What is the process of finding and eliminating errors in code? a) Compiling b) Debugging c) Executing d) Programming e) All of the options listed 3) What will happen if the computer fails to compile your code? a) The computer will freeze b) An error message will be displayed c) Nothing will happen d) None of the options shown e) The computer will start executing your code 4) Which of the following would Java interpret as being a String? a) "Hello World" b) 'Hello World' c) <p>Hello World</p> d) '''Hello World''' e) 'Hello World'

Leaderboard

Visual style

Options

Switch template

Continue editing: ?