Skip to content
UPEEC

Nested Classes

Classes declared inside another class; static nested classes don't need an outer instance.

Easy
Comments 0

static class Node { … } inside a LinkedList implementation.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.