Font size
WorksheetsQUIZ #1 - WEB PROG. 1
Total questions: 15
Worksheet time: 9mins
The purpose of this in your code is to explain what the code is doing.
Java
Comments
Variables
String
Used for terminating certain control structures, such as switch statements and loops.
continue Statement
switch Statement
default Statement
break Statement
The + (plus sign) operator between string values adds them together to make a new string.
String Concatenation
String Type
String Interpolation
String Value
Assigns the value on the right side of the operator to the variable on the left side.
Increment Operator
Assignment Operators
Decrement Operator
AND Operator
Operators that are used to join multiple expressions and/or conditions.
Primitive Operators
Arithmetic Operators
Assignment Operators
Logical Operators
It is used mostly to evaluate conditions for conditional statements.
Relational Operators
Logical Operators
Arithmetic Operators
Primitive Operators
A conditional statement that executes a block of code when a condition returns a Boolean value of true.
if... else Statement
if Statement
if-else-if Statement
Nested if-else Statement
Reverses the logical state of an existing operand (an operand that normally evaluates as true will return a value of false, and vice-versa)
OR Operator
AND Operator
NOT Operator
Operators
A type of loop that executes a statement for a specific number of times.
do-while Loop
for Loop
while Loop
foreach Loop
It can be used for performing a task when none of the cases is matched.
break Statement
continue Statement
default Statement
switch Statement
Allows programs to use data for performing tasks.
(a)
It increments the value and returns the result of the increment.
(a)
It is a high level, modern programming language designed in the early 1990s by Sun Microsystems, and currently owned by Oracle.
(a)
It is an object that represents a sequence of characters.
(a)
Also known as data types.
(a)
