Parts of a Method (Java)
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Bryan Campbell
Used 3+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the method declaration public static int calculateSum(int a, int b), what does the word public represent?
Method name
Parameters
Return type
Access modifier
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In regards to the parts of a method, what is the add?
Access modifier
Return type
Method name
Parameters
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which part of a Java method specifies what type of value the method will return?
Method name
Parameters
Return type
Access modifier
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In regards to the parts of a method, what is the integer value for a and b?
Access modifier
Return type
Method name
Parameters
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In regards to the parts of a method, what is the keyword public?
Access modifier
Return type
Method name
Parameters
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In regards to the parts of a method, what is the keyword void?
Access modifier
Return type
Method name
Parameters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the variables within the parentheses of a method declaration called?
Method name
Parameters
Return type
Access modifier
Statements
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
21 questions
Y9 Creative iMedia RO81 Quiz Part 1
Quiz
•
9th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
16 questions
Cloud Storage
Quiz
•
9th Grade
14 questions
Fetch & Execute Cycle
Quiz
•
9th Grade
15 questions
CIW
Quiz
•
9th - 12th Grade
15 questions
Systems Architecture
Quiz
•
KG - 9th Grade
15 questions
KS4 - Representing Images
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
