Java / Basic
Java β Basic
Learn the toolchain, values, decisions, methods, sequences, and encapsulated objects.
What you will learn
- Compile and trace complete Java 17 examples.
- Explain type, range, ownership, and control-flow contracts.
JDK tools, compilation, and launching
Follow a Java source file through compilation and execution while keeping compiler, runtime, classpath, and version requirements distinct.
Start learningValues, types, and numeric expressions
Choose representations that preserve the meaning of a value. Understand primitives, references, integer arithmetic, conversion, booleans, Unicode, and null.
Start learningConditions, loops, and invariants
Translate decisions and repeated work into control flow whose boundaries and termination can be explained before execution.
Start learningMethods, contracts, and parameter passing
Build small methods with explicit inputs, results, and failure rules. Explain pass-by-value, scope, overloading, and recursive termination.
Start learningArrays, strings, and text boundaries
Work with sequences while distinguishing fixed-size arrays, immutable strings, reference identity, content equality, and Unicode units.
Start learningClasses, 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