17 questions
What is the keyword "final" used for in Java?
identify a constant
identify an integer
identify a string
Identify a final answer
The keyword "method" is another name for
an object
a class
a function
a variable
Java was originally named:
Coffee
Oak
New C++
Duke
Which of the following is NOT a numeric data type
int
double
float
decimal
Which of the following is incorrect?
int count = 50.0;
int salary = 50_000;
int salary = 50_00;
all of these are incorrect
The numeric type int uses how many bits?
31
32
63
64
Which of the following is an example of a reference variable declaration?
int count;
String name;
float gpa;
char firstInitial;
Where does a java program start executing instructions from:
class
source file
main method
object