Java Masterclass — 109 lecciones
Java desde cero, hasta dominarlo
Aprende Java escribiendo Java real en un editor Monaco completo. Desde cómo la JVM ejecuta tu código hasta el sistema de tipos, operadores, control de flujo, bucles y el modelo de objetos. Cada práctica se evalúa al instante en el navegador por coincidencia de patrones — Java auténtico, sin servidor y sin coste.
Progreso del curso0/109 · 0%
Capítulo 1 · Conoce Java y la JVM
0/6Capítulo 2 · Variables, tipos y conversiones
0/6Capítulo 3 · Operadores
0/6Paso 21Arithmetic: + - * / % and the integer-division trapPaso 22Assignment, compound operators & ++ / --Paso 23Relational operators & the == vs .equals trapPaso 24Logical operators && || ! and short-circuitingPaso 25Precedence & associativity: why 2 + 3 * 4 is 14Paso 26The ternary operator: cond ? a : b
Capítulo 4 · Control de flujo — if, switch y ternario
0/6Capítulo 5 · Bucles
0/6Capítulo 6 · Clases, objetos y métodos
0/7Paso 51Classes & objects: blueprint vs instancePaso 52Fields & methods: state and behaviorPaso 53Method overloading: same name, different signaturesPaso 54Constructors: initializing a new objectPaso 55The `this` keyword: the current objectPaso 56Stack, heap & references: where objects livePaso 57Static members: shared across all instances
Capítulo 7 · Arreglos
0/7Paso 61Arrays: a fixed block of same-typed slotsPaso 62Array literals & the indexed for loopPaso 63The for-each loop: read every element, no indexPaso 642-D arrays: grids, rows, columns & nested loopsPaso 65Jagged arrays: rows of different lengthsPaso 66Arrays of objects: references default to nullPaso 67java.util.Arrays: sort, toString, fill, copyOf, binarySearch
Capítulo 8 · Strings a fondo
0/7Paso 71String basics: an object, the pool & ==Paso 72Immutability: Strings never changePaso 73Core methods: length, charAt, indexOf, substringPaso 74Split & join: from one String to many and backPaso 75StringBuilder: a mutable String for loopsPaso 76Formatting: String.format, printf & text blocksPaso 77Equality: ==, equals, equalsIgnoreCase & compareTo
Capítulo 9 · Encapsulación y paquetes
0/7Paso 81Encapsulation: hide data, expose behaviorPaso 82Getters & setters: controlled, validated accessPaso 83Access modifiers: public, protected, default & privatePaso 84Packages & imports: organizing the namespacePaso 85Constructor chaining: this(...) & overloadingPaso 86Static members in depth: shared state & factoriesPaso 87Immutable classes: state that never changes
Capítulo 10 · Herencia y polimorfismo
0/8Paso 91Inheritance: extends & the "is-a" relationshipPaso 92super: calling the parent constructor & methodsPaso 93Overriding methods & @OverridePaso 94Polymorphism: one reference, many formsPaso 95Dynamic method dispatch: the JVM picks the overridePaso 96final: locking variables, methods & classesPaso 97The Object class: toString, equals & hashCodePaso 98Casting & instanceof: up, down & pattern matching
Capítulo 11 · Abstracción — interfaces y enums
0/8Paso 101Abstract classes: a blueprint you can't buildPaso 102Interfaces: a pure contractPaso 103Default & static methods in interfacesPaso 104Interface vs abstract class: which & whenPaso 105Functional interfaces & a lambda previewPaso 106Enums: a fixed set of named constantsPaso 107Rich enums: fields, constructors & methodsPaso 108Annotations: metadata on your code
Capítulo 12 · Excepciones y manejo de errores
0/7Paso 111What is an exception? try, catch & the stack unwindPaso 112Multiple catch blocks & multi-catchPaso 113The hierarchy: checked vs uncheckedPaso 114throw vs throws: raising and declaringPaso 115Custom exception classesPaso 116finally: cleanup that always runsPaso 117try-with-resources: automatic cleanup
Capítulo 13 · Colecciones y genéricos
0/7Paso 121Generics: type parameters and compile-time safetyPaso 122The Collections Framework: a map of the interfacesPaso 123List & ArrayList: a resizable, indexed sequencePaso 124Set: uniqueness, and the equals/hashCode contractPaso 125Map & HashMap: key → value lookupsPaso 126Iterating: for-each, Iterator & safe removalPaso 127Ordering: Comparable vs Comparator
Capítulo 14 · Lambdas y la Stream API
0/8Paso 131Lambda expressions: behaviour as a valuePaso 132Method references: the lambda's shorthandPaso 133Streams: a pipeline, not a collectionPaso 134map & filter: transform and keepPaso 135Terminal ops: reduce & collectPaso 136sorted, distinct, limit, skip & peekPaso 137Optional: a box that may be emptyPaso 138Putting it together: full pipelines & when not to stream