Java / Basic

Java β€” Basic

Learn the toolchain, values, decisions, methods, sequences, and encapsulated objects.

6 lessons Β· No account required

What you will learn

  • Compile and trace complete Java 17 examples.
  • Explain type, range, ownership, and control-flow contracts.
  1. JDK tools, compilation, and launching

    Follow a Java source file through compilation and execution while keeping compiler, runtime, classpath, and version requirements distinct.

    Start learning
  2. Values, types, and numeric expressions

    Choose representations that preserve the meaning of a value. Understand primitives, references, integer arithmetic, conversion, booleans, Unicode, and null.

    Start learning
  3. Conditions, loops, and invariants

    Translate decisions and repeated work into control flow whose boundaries and termination can be explained before execution.

    Start learning
  4. Methods, contracts, and parameter passing

    Build small methods with explicit inputs, results, and failure rules. Explain pass-by-value, scope, overloading, and recursive termination.

    Start learning
  5. Arrays, strings, and text boundaries

    Work with sequences while distinguishing fixed-size arrays, immutable strings, reference identity, content equality, and Unicode units.

    Start learning
  6. Classes, objects, and encapsulation

    Model a small stateful object whose constructor and methods protect valid transitions. Distinguish instances, static members, access control, and interface behavior.

    Start learning
Back to course