Java Programming Basics

Java Programming Basics

Assessment

Flashcard

Computers

9th - 12th Grade

Easy

Created by

David Marks

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

public

Back

This keyword means that the method can be accessed from anywhere in your program. Example: Like a public notice board in a school.

2.

FLASHCARD QUESTION

Front

static

Back

This means the method belongs to the class itself, not to any object you create from the class. Example: Like a general instruction on a blueprint.

3.

FLASHCARD QUESTION

Front

void

Back

This tells Java that the method does not return any value. Example: Like turning off the lights without getting anything back.

4.

FLASHCARD QUESTION

Front

main

Back

This is the name of the method that Java looks for when it starts running a program. Example: Like the starting point in a board game.

5.

FLASHCARD QUESTION

Front

String[] args

Back

This is a parameter for the method, an array of Strings for command-line arguments. Example: Like special instructions when ordering food.

6.

FLASHCARD QUESTION

Front

Method in Java

Back

A block of code that performs a specific task. Example: Like a recipe in a cookbook.

7.

FLASHCARD QUESTION

Front

Object in Java

Back

A thing you create from a class, allowing you to use the variables and methods defined in that class. Example: Like a house built from a blueprint.

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?