IS 2033 Quiz #5 | Questions with 100% Correct
Answers | Verified | Latest Update 2026
Save
Practice questions for this set
Learn 1 /7 Study using Learn
return
Choose an answer
It is called _____________ when a local variable or parameter in a method has the same
1
name as a class variable (or field of a class) then the field or class variable is hidden.
Class Math is a part of the java.lang package, which is __________ imported by the compiler
2
so it's not necessary to import class Math to use its methods.
A parameter variable's scope is the entire program that contains the method in which
3
the parameter is declared.
The ___________statement in a called method can be used to pass the value of an
4
expression back to the calling method.
, Don't know?
Terms in this set (24)
It is called _____________ when a local Shadowing
variable or parameter in a method
has the same name as a class
variable (or field of a class) then the
field or class variable is hidden.
A method is invoked with a(n)
____________.
Stacks are known as ________ data LIFO (last-in-first-out)
structures—the last item pushed
(inserted) on the stack is the first item
popped (removed) from the stack.
public static String student(String the method name
bannerID, int creditHrs)
Based on the above method header,
student is _______________.
A parameter variable's scope is the false
entire program that contains the
method in which the parameter is
declared.
When you assemble Strings into String concatenation
larger Strings using operators + or +=
you are performing ____________________.
Answers | Verified | Latest Update 2026
Save
Practice questions for this set
Learn 1 /7 Study using Learn
return
Choose an answer
It is called _____________ when a local variable or parameter in a method has the same
1
name as a class variable (or field of a class) then the field or class variable is hidden.
Class Math is a part of the java.lang package, which is __________ imported by the compiler
2
so it's not necessary to import class Math to use its methods.
A parameter variable's scope is the entire program that contains the method in which
3
the parameter is declared.
The ___________statement in a called method can be used to pass the value of an
4
expression back to the calling method.
, Don't know?
Terms in this set (24)
It is called _____________ when a local Shadowing
variable or parameter in a method
has the same name as a class
variable (or field of a class) then the
field or class variable is hidden.
A method is invoked with a(n)
____________.
Stacks are known as ________ data LIFO (last-in-first-out)
structures—the last item pushed
(inserted) on the stack is the first item
popped (removed) from the stack.
public static String student(String the method name
bannerID, int creditHrs)
Based on the above method header,
student is _______________.
A parameter variable's scope is the false
entire program that contains the
method in which the parameter is
declared.
When you assemble Strings into String concatenation
larger Strings using operators + or +=
you are performing ____________________.