IT 114: Introduction to Java
Class 10 Ungraded Quiz
-
Does every { in a Java program
have to have a matching }?
-
What is a method?
-
What are the two components of a method?
-
What do you call the code block containing the statements
that are executed when the method is run?
-
What is contained inside the parentheses, ( ), on the first line of the
method definition?
-
What do you call the statement that causes a method to run?
-
Does this statement always have to have parentheses, ( )?
-
What do you call variables defined inside the statements of a method?
-
Can other parts of the program see these variables?
-
What do you call the values inside the ( ) when you run
a method?
-
What do you call the special variables inside a method that get
their value when the method is run?
-
Where do these special variables get their values?