Introduction to Java Programming and Data Structures

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

Flashcards covering key terminology and concepts from the lecture on Java programming, focusing on objects and classes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Class

A blueprint or template from which objects are created.

2
New cards

Object

An instance of a class that represents a distinct entity with a unique identity, state, and behaviors.

3
New cards

Encapsulation

The bundling of variables and methods into a single unit, restricting access to certain components.

4
New cards

Abstraction

The concept of hiding the complex implementation details and showing only the essential features of an object.

5
New cards

Constructor

A special type of method used to initialize objects of a class.

6
New cards

Instance Variable

A variable defined in a class for which each object of the class has its own copy.

7
New cards

Static Variable

A variable that is shared among all instances of a class.

8
New cards

Reference Variable

A variable that holds the address of an object in memory.

9
New cards

Garbage Collection

The process by which the Java Virtual Machine automatically manages memory and reclaims objects that are no longer in use.

10
New cards

Method

A function defined within a class that can be used to perform operations on objects.

11
New cards

Visibility Modifier

Keywords that set the accessibility of classes, methods, and variables (e.g., public, private, protected).

12
New cards

Getter

A method used to retrieve the value of a data field in a class.

13
New cards

Setter

A method used to set or update the value of a data field in a class.

14
New cards

this Keyword

A reference variable that refers to the current object in a method or constructor.

15
New cards

Default Constructor

A constructor that takes no parameters and initializes the object with default values.

16
New cards

Inheritance

A principle that allows a new class to inherit the properties and methods of an existing class.

17
New cards

Polymorphism

The ability of different classes to be treated as instances of the same class through a common interface.