Computer Science - Java Programming Basics

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

1/24

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards covering fundamental Java and Object-Oriented Programming concepts based on a course worksheet.

25 Terms

1
New cards

Scope

Where a variable exists in a program.

2
New cards

Class

A blueprint used to create objects.

3
New cards

Object

A specific instance of a class.

4
New cards

Primitive Type

Basic data types like intint and booleanboolean.

5
New cards

Static Method

A method called on a class, not an object.

6
New cards

Instance Variable

A variable each object gets its own copy of.

7
New cards

Constructor

Special method that creates objects.

8
New cards

Instance Method

A method that defines what an object can do.

9
New cards

Visibility

Controls access (public vs private).

10
New cards

Package

A group of related classes.

11
New cards

Local variable

A variable that only exists inside a method.

12
New cards

Object Oriented Programming (OOP)

A programming style that focuses on objects and their data/actions.

13
New cards

State

Refers to the data of an object.

14
New cards

Behavior

Refers to the actions of an object.

15
New cards

Client

A program that uses a class, such as using the StringString class.

16
New cards

Static Variable

A variable shared by all objects of a class.

17
New cards

thisthis

The keyword used to refer to the current object.

18
New cards

supersuper

The keyword used to refer to the parent class.

19
New cards

Method Overriding

When a subclass replaces a method from its parent class.

20
New cards

Abstract class

A class that cannot be instantiated.

21
New cards

Method Overloading

When multiple methods have the same name but require different parameter lists.

22
New cards

Shadowing

A situation that occurs when two variables have the same name within overlapping scopes.

23
New cards

Polymorphism

The concept that one method or object can behave differently or take many forms.

24
New cards

Getter

A method used to retrieve or read the data of an object.

25
New cards

Setter

A method used to change or update the data of an object.