
Java Methods
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the name of the method?
public static void nameReverse(String first, String last)
Back
nameReverse
2.
FLASHCARD QUESTION
Front
What data type does the function method return?
public static int sum(float num1, double num2)
Back
int
3.
FLASHCARD QUESTION
Front
What are the parameters?
public static void fullName(String userFirst, char userMiddle, String userLast);
Back
userFirst, userMiddle, userLast
4.
FLASHCARD QUESTION
Front
These control the behavior of a program.
Back
method
5.
FLASHCARD QUESTION
Front
In a method, the return type should be __________ when the method returns no value.
Back
Void
6.
FLASHCARD QUESTION
Front
Can you have two methods with the same name in the same class file?
Back
YES
7.
FLASHCARD QUESTION
Front
Can you have two methods with the same name and same parameter list in the same class file?
Back
NO
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?