Release context: JDK 1.0 arrived in January 1996; JDK 1.1 followed in February 1997.
This package covers early Java 1.0 and 1.1 foundations. It is intentionally a refresher on platform concepts that later releases evolved, not a complete introductory Java course.
Java 1.0 established the object-oriented language, checked exceptions, threads, java.io, AWT, applets, and the original standard-library shape. Java 1.1 expanded the platform with inner classes, reflection, object serialization, JDBC, RMI, JavaBeans, internationalization, JAR files, JNI, and the delegation event model.
The executable examples focus on concepts that still compile and behave faithfully on JDK 25. Environment-heavy topics use local, isolated fixtures where that still teaches the feature clearly.
Java code is organized around classes and objects. Classes can encapsulate state and behavior, and inheritance lets a subclass reuse and specialize behavior from a superclass.
Example: ObjectOrientedBasicsExamples
Test: ObjectOrientedBasicsExamplesTest
Interfaces define contracts that unrelated classes can implement. Before Java 8 default methods, interfaces contained method signatures and constants, not reusable method bodies.
Example: InterfaceExamples
Test: InterfaceExamplesTest
Checked exceptions force callers to handle or declare recoverable failure. This baseline matters before studying Java 7 multi-catch, precise rethrow, and try-with-resources.
Example: ExceptionHandlingBasicsExamples
Test: ExceptionHandlingBasicsExamplesTest
Early Java exposed concurrency through Thread, Runnable, synchronization, wait, and notify. Later releases added higher-level concurrency utilities and virtual threads, but the original model explains the foundation.
Example: ThreadBasicsExamples
Test: ThreadBasicsExamplesTest
The original I/O model centered on streams and readers. Later releases added NIO, NIO.2, and convenience file APIs, but InputStream, OutputStream, Reader, and Writer remain important concepts.
Example: IoBasicsExamples
Test: IoBasicsExamplesTest
Java 1.1 added inner classes, making it easier to keep small helper implementations near the code that uses them. This history helps explain anonymous classes, which later became a common pre-lambda pattern.
Example: InnerClassExamples
Test: InnerClassExamplesTest
Java 1.1 added reflection so code can inspect classes, methods, constructors, and fields at runtime.
Example module: reflection
Test: ReflectionExamplesTest
Java 1.1 added object serialization for writing object graphs to streams and reconstructing them later.
Example module: serialization
Test: SerializationExamplesTest
Java 1.1 introduced JDBC as a standard API for database access.
The executable module demonstrates driver registration, URL matching,
DriverManager dispatch, connection metadata, and driver cleanup without
requiring a database server.
Example module: jdbc
Test: JdbcExamplesTest
Java 1.1 introduced Remote Method Invocation for calling objects in another JVM.
Example module: rmi
Test: RmiExamplesTest
JavaBeans defined reusable component conventions around properties, events, and introspection.
Example module: javabeans
Test: JavaBeansExamplesTest
Start with the executable fundamentals, then read the focused platform modules for reflection, serialization, JDBC, RMI, and JavaBeans.
Run the focused tests:
mvn -Dtest=ObjectOrientedBasicsExamplesTest,InterfaceExamplesTest,ExceptionHandlingBasicsExamplesTest test
mvn -Dtest=ThreadBasicsExamplesTest,IoBasicsExamplesTest,InnerClassExamplesTest test
mvn -Dtest=ReflectionExamplesTest,SerializationExamplesTest,JdbcExamplesTest,RmiExamplesTest,JavaBeansExamplesTest testAfter this package, continue with Java 2 for the Collections Framework and the Java 2 platform shift.