Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Jhaymayleth/unidad2_java/llms.txt

Use this file to discover all available pages before exploring further.

Welcome to the Unidad 2 Java documentation. This repository walks you through the foundational pillars of Object-Oriented Programming in Java across six progressive workshops (Talleres 7–12). Each taller introduces a concept, shows correct and incorrect usage side-by-side, and provides runnable exercises you can study and extend.

Introduction

Learn what this repository covers and how the workshops are structured.

Quickstart

Clone the repo, compile, and run your first exercise in minutes.

Core Concepts

Explore OOP theory — access modifiers, encapsulation, inheritance, polymorphism, abstract classes, and interfaces.

Workshops

Jump straight into the six hands-on talleres with annotated source code.

Workshop Map

Taller 7

Access modifiers, getters, setters, and encapsulation

Taller 8

Single inheritance and the extends keyword

Taller 9

The super keyword and inheritance pitfalls

Taller 10

Polymorphism and method overriding with @Override

Taller 11

Abstract classes and abstract method contracts

Taller 12

Interfaces and multiple interface implementation

Learning Path

1

Read the Core Concepts

Start with the Core Concepts section to understand the theory behind each OOP feature before diving into code.
2

Follow the Talleres in order

Work through Taller 7 → 12 sequentially. Each taller builds on the previous one — encapsulation before inheritance, inheritance before polymorphism.
3

Compile and run the exercises

Every taller includes a Main class you can compile with javac and run with java. See the Quickstart for setup instructions.
4

Study the pitfall examples

Talleres 8, 9, and 10 include deliberate incorrect examples (marked with ❌). Read these alongside the correct versions to understand what Java rejects and why.

Build docs developers (and LLMs) love