IT 114: Introduction to Java
Answers to Class 6 Ungraded Quiz
-
What do you call special characters that perform an action using one or more values?
operators
-
What do you call the values used by these special characters?
operands
-
List the arithmetic operators.
+, - *, /, %
-
What is the value of the following expression
8 % 3
2
-
What do you call the data types that can only hold one value?
primitive data types
-
What do you call the data types that can hold more than one value?
classes
-
What is the data type of the following literal?
"Hello world!"
String
-
What do you call the operation of joining two string?
concatenation
-
What operator is used for the operation above?
+
-
Can the operation above be used with text and numbers?
yes