<DS/>DS_VISUALIZER
FoundationsOOPArraysLinked ListStacksQueuesTreesGraphsHashingStrings
exploreExplore
homechevron_rightTopicschevron_rightOopschevron_rightAdvanced
bolt

OOP · ADVANCED

Advanced Concepts

Interfaces, class-area members, and choosing HAS-A over IS-A.

Choose a concept

handshakearrow_outward

Interfaces vs Abstract

Contract vs half-built class — and mixing in many contracts.

◍ 0/6
pinarrow_outward

static & final

One-per-class storage and write-once constants.

◍ 0/6
widgetsarrow_outward

Composition vs Inheritance

HAS-A vs IS-A — and why composition often wins.

◍ 0/6