1
CSE 205 Exam 1 Questions with Correct
Answers | Updated (100% Correct Answers)
A java application always contains a single method. This method is
called...? (Give the signature of this method) Answer: main
public static void main (String[] args)
How is data given to this parameter? Answer: Through a command
line interface
Ex: java someClass data (args[0] will contain data)
Identifiers can only begin with... Answer: Letters, underscores, dollar
signs
Which are not key words?
abstract
go
short
boolean
hash
synchronized
© 2025 All rights reserved
, 2
continue
instanceof
transient
double
new
try
extends
package
volatile
false
parent
while Answer: go, hash, parent
What does API stand for? Answer: Application Programmer
Interface
What needs to be done to use the scanner class? Answer: import
java.util.Scanner;
© 2025 All rights reserved
CSE 205 Exam 1 Questions with Correct
Answers | Updated (100% Correct Answers)
A java application always contains a single method. This method is
called...? (Give the signature of this method) Answer: main
public static void main (String[] args)
How is data given to this parameter? Answer: Through a command
line interface
Ex: java someClass data (args[0] will contain data)
Identifiers can only begin with... Answer: Letters, underscores, dollar
signs
Which are not key words?
abstract
go
short
boolean
hash
synchronized
© 2025 All rights reserved
, 2
continue
instanceof
transient
double
new
try
extends
package
volatile
false
parent
while Answer: go, hash, parent
What does API stand for? Answer: Application Programmer
Interface
What needs to be done to use the scanner class? Answer: import
java.util.Scanner;
© 2025 All rights reserved