Java Basic Structure and Syntax Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

This set of vocabulary flashcards covers the fundamental structure, syntax rules, naming conventions, and execution flow of basic Java programs.

Last updated 12:34 AM on 8/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

main() method

The special method that serves as the entry point where every Java application begins execution.

2
New cards

Class Declaration

A structure that serves as the container for the members of a Java program, beginning with a header and enclosed in braces.

3
New cards

keyword class

The specific Java keyword used to indicate that a class is being declared.

4
New cards

Case-sensitivity

A characteristic of Java where names like Welcome.java and welcome.java are treated as different names.

5
New cards

Statement

A complete instruction that tells the program to perform an action, typically ending with a semicolon.

6
New cards

Semicolon (;)

The symbol used to mark the end of a Java instruction.

7
New cards

Block

A group of code enclosed in braces { } that marks the boundaries of classes or methods.

8
New cards

Keywords

Reserved words like public, class, static, and void that have specific meanings in Java and cannot be used as names for classes or methods.

9
New cards

Identifier

A name created for a program element (like a class or method) which can contain letters, digits, underscores, and dollar signs but cannot start with a digit.

10
New cards

PascalCase

A naming convention where each word begins with an uppercase letter, normally used for Java class names.

11
New cards

camelCase

A naming convention where the first word begins with a lowercase letter and subsequent words begin with an uppercase letter, normally used for method names.

12
New cards

Indentation

The use of consistent spacing to visually show which statements belong to a specific class or method.

13
New cards

Program Execution

The order in which the instructions of a running program are carried out.

14
New cards

Sequential Execution

The process where statements inside a method are performed from top to bottom, one finishing before the next begins.

15
New cards

Method Call

An instruction consisting of a method name, parentheses, and a semicolon that temporarily transfers execution to another method.

16
New cards

Tracing

The process of following a program one statement at a time to predict its output.

17
New cards

void

A keyword in a method header indicating that the method finishes without returning a value.

18
New cards

static

A keyword that allows a method to be called directly from the static main() method.

19
New cards

Method Body

The portion of a method declaration enclosed in braces that contains the statements performed when the method is called.

20
New cards

Reuse

The benefit of methods that allows the same task to be performed through repeated calls, reducing repeated code.