Match each word to its correct meaning. 1. code block 5 Java variable type that allows more than one character or letter to be displayed; used by placing double quotation marks at the beginning and end of the string 2. if statement 1 related group of coding statements that belong to a set enclosed within curly braces {} 3. if-else statement 6 group of printable characters enclosed within double quotation marks 4. method 2 decision-making statement evaluating to only one of two alternatives: true or false. If result is true, the statement below the if statement executes. If result is false, the system executes the next statement outside the code block. 5. string data type 4 series of Java coding statements grouped together under a descriptive name, followed by a set of parentheses to hold arguments if needed; 6. string literal 3 decision-making statement evaluating to only one of two alternatives: true or false. If result is true, the statement(s) below the if statement execute until they reach the ending semicolon. If result is false, the system executes statements in the else code block.
Join our real-time social learning platform and learn together with your friends!