mod 13-14

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

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

16 Terms

1
New cards

Polymorphism

"Many forms" — same message → different behavior depending on object type

2
New cards

Static Binding

Method call resolved at compile time — uses fixed code (procedural style)

3
New cards

Dynamic Binding

Method call resolved at run time — based on actual object type

4
New cards

Upcasting

Assigning a subclass object to a superclass reference variable

5
New cards

Method Overloading

Same method name, different parameter lists — happens within one class

6
New cards

Method Overriding

Same method signature in subclass — different implementation

7
New cards

Modularity

Organizing code into independent, reusable units (methods → classes → packages)

8
New cards

Encapsulation

Bundling data + methods together; hiding internal details from outside access

9
New cards

static keyword

Makes a field/method belong to the class, not to individual objects — shared across all instances

10
New cards

Packages

Named collection of related classes; prevents naming conflicts; convention = reverse domain name

11
New cards

private

Only within the same class

12
New cards

(default / friendly)

Within the same package only

13
New cards

protected

Same package + subclasses in any package

14
New cards

public

Everywhere — no restriction

15
New cards

Bundling

Keep related data and methods together in one class

16
New cards

Information Hiding

Make data private; control access through public getter/setter methods