Java Programming Basics: Variables, Methods, and Keywords

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/15

flashcard set

Earn XP

Description and Tags

Vocabulary terms covering basic Java concepts including object construction, memory management, variable scopes, arithmetic operators, and core keywords.

Last updated 7:17 PM on 7/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

Constructor

A special type of method used to construct objects, which always shares the same name as the class and does not have a return type.

2
New cards

Global Variables

Variables declared at the class level, also known as class level variables, that have broader visibility than local variables.

3
New cards

Local Variables

Variables defined within a method whose accessibility and visibility are restricted to that particular method.

4
New cards

this Keyword

A keyword that refers to the global level current class instance variable; it is used to avoid repeated object creation that can slow down processing.

5
New cards

Modulus Operator (%\%)

An arithmetic operator that returns the remainder of a division as the answer.

6
New cards

Division Operator (//)

An arithmetic operator that returns the quotient (referred to as the question number) as the result of a division.

7
New cards

Variable

A container used for holding data or references to object creations within a program.

8
New cards

new Keyword

A memory reserving keyword in Java used to initiate object creation and occupy space in memory.

9
New cards

Main Method

The official entry point of the Java Virtual Machine (JVMJVM) where program execution begins.

10
New cards

Keywords

Also called reserved words, these are predefined terms in Java (such as publicpublic, classclass, or staticstatic) that have specific meanings.

11
New cards

Public

An access modifier keyword indicating that the variable or method is accessible by everyone.

12
New cards

Static

A keyword indicating that a member belongs to the class family rather than a specific instance; it can be invoked using the class name.

13
New cards

Void

A return type used in method signatures to indicate that the method does not return any value.

14
New cards

Method Signature

The first line of a method that includes its access modifier, return type, name, and arguments.

15
New cards

Upper Camel Case

A naming convention followed in Java where class names start with a capital letter (e.g., WebDriverWebDriver, SystemSystem, ActionsActions).

16
New cards

Return Statement

A keyword used to exit a method and provide a value (such as an integer or boolean) back to the caller, provided the method is not defined as voidvoid.