Basic Java Concepts

Basic Java Concepts

Assessment

Flashcard

Computers

11th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

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

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?