WorksheetsObject Oriented Programming
Total questions: 10
Worksheet time: 2mins
_________ are used to store up temporary data to be used in our program's runtime.
Datatype
Identifiers
Variables
Data
The type of data inside our variable.
Data
Variables
Identifiers
Data Type
It is the name of the variables that the programmer indicated and it is used to read and write to the variable.
Identifiers
Datatype
Variables
Concatenation
The process of joining strings together with the plus operator.
Identifiers
Concatenation
Datatypes
Variables
Syntax in declaring variables
identifier datatype;
identifier datatype = value;
datatype identifier
value = identifier datatype;
datatype identifier
value identifier = datatype;
datatype identifier;
datatype identifier = value;
Syntax in reassigning variables
identifier = value
identifier = value;
value = identifier
value = identifier;
Which of the ff. is an example of Concatenation
"Hello" + "World"
2 + 3
'a' + 3
Hello + World
You can concatenate ________ a variable
Beside
Inside
Outside
All of the above
We can display a variable's value by indicating its identifier inside the parenthesis.
System.outprintIn();
System.out.printIn;
System.out.printIn()
System.out.printIn();
You can use numbers but with letters.
Rule of Identifier
Rule of Concatenation
Rule of Declaring Variables
Rule of Reassigning Datatypes
