Skip to main content

Core Java

The foundation of every Java program. Before writing a Spring service or a reactive pipeline, you need a solid grip on Java's syntax, primitive types, operators, and control-flow constructs. This domain covers those building blocks from first principles.

What You'll Find Here

TopicDescription
Variables & Data TypesThe 8 primitive types, literals, var inference, constants, and final.
Type ConversionWidening vs. narrowing casts, implicit numeric promotion in expressions.
Operators & ExpressionsArithmetic, bitwise, logical, ternary, and instanceof operators.
Control Flowif/else, switch expressions (Java 14+), for, while, do-while.
ArraysSingle and multi-dimensional arrays, Arrays utility class.
StringsImmutability, string pool, StringBuilder, and core String APIs.
MethodsSignatures, overloading, varargs, pass-by-value, recursion.
Packages & ImportsPackage structure, imports, classpath basics, and access modifiers.

Learning Path

  1. Start with Variables & Data Types — understand what the JVM can store before anything else.
  2. Move to Type Conversion — learn how Java promotes and casts between types.
  3. Cover Operators & Expressions — arithmetic, bitwise, and logical operators power every algorithm.
  4. Study Control Flow — branching and loops are the skeleton of every method.
  5. Read Arrays — fixed-size collections and the foundation of higher-level data structures.
  6. Study StringsString, StringBuilder, and string formatting are used in every program.
  7. Finish with Methods and Packages & Imports before moving to Object-Oriented Programming.