ArchitectMind
  1. Home
  2. Java Ecosystem
  3. Book 1 · Core Java & Modern Java
  4. Volume I
Book 1 · Core Java & Modern Java · Volume I

Java Language Fundamentals & Object-Oriented Programming

Complete · all 32 topics · Stage 1 · Foundations

This volume is complete: all 32 topics are published, in reading order.

Ch 1Java Platform Fundamentals

1.1 Java PlatformJava language, Java platform, JDK, JRE, JVM, Java SE, Jakarta EE and the Java ecosystem1.2 Java Source-to-Execution LifecycleFrom a .java file to instructions on the CPU — compilation, bytecode, class loading, interpretation, JIT and the program lifecycle1.3 Java Language CharacteristicsWhat "object-oriented, strongly and statically typed, managed, multithreaded, secure and portable" actually means — and where each claim stops

Ch 2Syntax & Basic Constructs

2.1 Java Program StructurePackage, imports, class declaration, main(), statements, expressions and blocks2.2 Identifiers & KeywordsNaming rules, reserved keywords, contextual keywords and naming conventions2.3 VariablesLocal, instance and static variables — initialisation, scope and lifetime2.4 OperatorsArithmetic, relational, logical, bitwise, assignment, unary, ternary, shift and instanceof operators2.5 Control Flowif, if-else, switch, for, enhanced for, while, do-while, break, continue and return — including switch expressions and pattern matching

Ch 3Java Type System

3.1 Primitive Typesbyte, short, int, long, float, double, char and boolean — sizes, ranges, representation and literals3.2 Reference TypesClasses, interfaces, arrays, enums and records — and what a reference really holds3.3 Primitive vs Reference TypesStorage, default values, assignment, equality and method invocation compared3.4 Type ConversionWidening, narrowing, explicit casting, numeric promotion and overflow3.5 Wrapper ClassesInteger, Long, Double, Boolean and Character — boxing, unboxing, caching and their traps

Ch 4Classes and Objects

4.1 ClassesClass declaration, fields, methods, constructors, initialisation blocks and nested classes4.2 ObjectsObject creation, new, references, identity, state and behaviour4.3 ConstructorsDefault and parameterised constructors, overloading, chaining with this() and super()4.4 MethodsMethod declaration, parameters, return types, overloading, varargs and pass-by-value

Ch 5Encapsulation and Abstraction

5.1 EncapsulationInformation hiding and access control with public, protected, package-private and private5.2 AbstractionAbstract classes, abstract methods, interfaces and contract-based design5.3 Encapsulation vs AbstractionPurpose, differences, design implications and practical examples

Ch 6Inheritance and Polymorphism

6.1 Inheritanceextends, parent and child classes, single and multilevel inheritance6.2 Method OverridingOverride rules, covariant return types, access restrictions and @Override6.3 PolymorphismCompile-time and run-time polymorphism, dynamic method dispatch, upcasting and downcasting6.4 Inheritance DesignIS-A relationships, composition vs inheritance, the fragile base class problem and Liskov substitution

Ch 7Interfaces and Composition

7.1 InterfacesDeclaration, methods, fields, default methods, static methods and private methods7.2 Multiple Interface InheritanceImplementing multiple interfaces, default-method conflicts and interface inheritance7.3 CompositionHAS-A relationships, delegation and composition over inheritance7.4 Interface-Based DesignContracts, loose coupling, dependency inversion and testability

Ch 8Nested Inner and Anonymous Classes

8.1 Nested ClassesStatic nested classes and member inner classes8.2 Local ClassesLocal class declaration, scope and captured variables8.3 Anonymous ClassesAnonymous implementation and anonymous inheritance8.4 Relationship with LambdasFunctional interfaces, and anonymous classes versus lambdas
Free question pack

Get 100 free Core Java interview questions

Subscribe for the Book 1 question pack (PDF, every answer explained) and new tutorials once a week. No spam, unsubscribe anytime. What is in the pack?

Almost done! Check your inbox and click the confirmation link. Your download link arrives as soon as you confirm.