
Basic Java Concepts
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

44 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Why do we use methods in Java programming?
Back
Break down our program into smaller parts, Avoid repeating code, Make our program more readable.
2.
FLASHCARD QUESTION
Front
What are parameters?
Back
The formal names given to the data/variables that are passed into a method.
3.
FLASHCARD QUESTION
Front
When the type of a method is defined as void, this indicates...
Back
the method returns nothing
4.
FLASHCARD QUESTION
Front
In the following code, what is the name of the method?
public void squared(int num1)
Back
squared
5.
FLASHCARD QUESTION
Front
What goes in the parentheses after a method name?
Back
parameters
6.
FLASHCARD QUESTION
Front
Which is a properly written method with four parameters? Options: public void math(int a, int b), public void math(double a, double b, double c, double d), public void math(a, b, c, d), public void math(4, 3, 2, 1)
Back
public void math(double a, double b, double c, double d)
7.
FLASHCARD QUESTION
Front
Name the data type: 1.0
Back
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?