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
13 questions
BE METER REVIEW #4

Quiz
•
12th Grade
15 questions
G10 CS Functions and Procedures

Quiz
•
12th Grade
12 questions
PLSQL-Introduction

Quiz
•
University
20 questions
Events and Lambda Expressions C#

Quiz
•
University
15 questions
Latihan_127

Quiz
•
11th Grade
12 questions
Function and Procedure in C

Quiz
•
University
11 questions
3prep tr2 ch3 1

Quiz
•
9th Grade
14 questions
Code.org Unit 3

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade