Java

Writing Java that compiles, runs, and models a problem with objects.

  • 15 topics
  • 131 cards
  • 79 questions
  • Difficulty
Share

The Language

Enough Java to write a program that runs and does what you meant.

  • What javac produces, what java consumes, and why one file runs on every machine.

    6 cards · 5 qnot started
  • What a variable actually holds, and how to choose the type that holds it.

    9 cards · 5 qnot started
  • What the symbols do when the types are not the ones you assumed.

    9 cards · 5 qnot started
  • Deciding once and repeating without copying, and the boundaries that go wrong.

    9 cards · 5 qnot started
  • Packaging behaviour under a name, and what a method can and cannot change for its caller.

    10 cards · 6 qnot started
  • A fixed run of values under one name, and the index that throws.

    8 cards · 5 qnot started
  • Text that never changes, and what that costs when you build it in a loop.

    9 cards · 5 qnot started

Objects

Modelling a problem as types that hold their own data and behaviour.

  • Turning a description into instances, and what this and static each belong to.

    9 cards · 6 qnot started
  • What a subclass gets from its parent, and the order in which things happen.

    10 cards · 5 qnot started
  • One call, several bodies, and which one the JVM picks.

    9 cards · 5 qnot started
  • Naming a capability without saying how it is met.

    8 cards · 5 qnot started
  • Keeping state where only its owner can reach it.

    8 cards · 5 qnot started

When Things Go Wrong

Exceptions, memory, and the contract every object is held to.

  • Failing loudly, recovering deliberately, and swallowing neither.

    10 cards · 6 qnot started
  • Where a value lives, what keeps it alive, and what the two memory errors mean.

    9 cards · 5 qnot started
  • The three methods every object inherits, and what breaks when two of them disagree.

    8 cards · 6 qnot started