Question 1
The + operator can be used between strings to add them together to make a new string OR you can use the concat() method to concatenate two strings
Next
Question 2
The static modifier should not be used with the final modifier to define constants
Previous Next
Question 3
To insert an element in the ArrayList, use the set() method and refer to the index number
Previous Next
Question 4
The slash (/) escape character turns special characters into string characters
Previous Next
Question 5
The only required elements of a method declaration are the method's return type and a body between braces, {}
Previous Next
Question 6
The while statement continually executes a block of statements only while a counter is smaller than a pre-defined value
Previous Next
Question 7
Constructor declarations are done identically to method declarations
Previous Next
Question 8
Java’s arithmetic operators are used for performing calculations on objects
Previous Next
Question 9
float arrFloats[]; is a valid declaration of an array of doubles
Previous Next