
Void, Return and Static Methods
Authored by Joseph Krontz
Mathematics
9th - 12th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
20 questions
calculas
Quiz
•
12th Grade - University
19 questions
Budgeting Terms & Vocabulary
Quiz
•
12th Grade
15 questions
LIMIT OF FUNCTIONS
Quiz
•
10th - 11th Grade
17 questions
Esame 1
Quiz
•
12th Grade
17 questions
Probability and Counting
Quiz
•
12th Grade
10 questions
Ch16.2
Quiz
•
11th Grade
10 questions
math quiz competition class 11 round 1
Quiz
•
9th - 12th Grade
11 questions
Induksi Matematika
Quiz
•
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
Discover more resources for Mathematics
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
Combine Like Terms and Distributive Property
Quiz
•
8th - 9th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade