Parts of a Method (Java)

Quiz
•
Computers
•
9th Grade
•
Medium
Bryan Campbell
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
OOP Java

Quiz
•
12th Grade
15 questions
Java Methods Quiz

Quiz
•
11th Grade
20 questions
AQA GCSE Computer Science - 3.2.10 Subroutines

Quiz
•
8th - 10th Grade
20 questions
Events and Lambda Expressions C#

Quiz
•
University
12 questions
HTML, JAVASCRIPT,XML

Quiz
•
University
12 questions
Python Functions and Docstrings Quiz

Quiz
•
University
20 questions
Parts of a Block Style Letter Test

Quiz
•
9th - 10th Grade
15 questions
Control statements in C++

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade