
Void, Return and Static Methods
Quiz
•
Mathematics
•
9th - 12th Grade
•
Medium
Joseph Krontz
Used 7+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can we use void and return methods together?
Yes
No
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is an example of a non-return method.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The name of this method is ....
Oddsum
int Oddsum
int Oddsum (int number)
return totaloddsum
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The different between static and non static method is ....
for non static method : user need to create object in a class to call a method.
A method is to perform only specific task.
There is no significant differences between static and non - static method.
Both are bounded with a class.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Data type for non return method is
int
double
void
public static
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fix the syntax error in Line 8.
Cylinder sc = new System.in( );
Scanner sc = new Scanner (System.in);
Cylinder Volume = new Volume( );
Cylinder call = new Cylinder( );
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the return type of a method that does not return any value?
int
float
void
double
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Quadratic Factorization and Equations
Quiz
•
10th - 11th Grade
17 questions
STAT & PROB - Long Quiz #2 (Finals)
Quiz
•
11th Grade
14 questions
Chapitre 13 intégration
Quiz
•
12th Grade
20 questions
QUARTER 4_NMP#3
Quiz
•
8th Grade - University
20 questions
Midterm Review
Quiz
•
10th Grade
10 questions
Polynomial Division
Quiz
•
12th Grade
10 questions
Quiz do Hub da Liga de MF
Quiz
•
12th Grade
11 questions
fundamental theorem of calculus
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Mathematics
15 questions
Two Step Equations
Quiz
•
9th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
10 questions
Types of Slope
Quiz
•
6th - 9th Grade
10 questions
Exploring the Basics of Ratios
Interactive video
•
6th - 10th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
23 questions
Similar Figures
Quiz
•
9th - 12th Grade
17 questions
Parallel lines cut by a transversal
Quiz
•
10th Grade
16 questions
Domain and Range of Functions
Quiz
•
9th Grade
