Abekus — AI learning and job matching platform logo

Java Fundamentals

  • 211 lessons
  • About 24 hours
  • Self-paced
  • Certificate on completion
0%Complete
Guided Mode

Start with lesson 1

211 lessons. The first one is free, no signup needed.

🗺️ Your learning path
Java Platform Concepts
Program Anatomy
Compilation and Execution

What you'll learn

  • Set up Java tooling and trace what happens between writing Hello World, compiling to bytecode, and running it on the JVM.
  • Use Java's primitive and reference types correctly — pick int vs long vs double, understand boxing and autoboxing, and predict the result of any type-conversion expression.
  • Reason about operator precedence and bitwise tricks — read any Java expression cold and predict what it evaluates to.
  • Write control flow that does what you intend — if/else, classic and arrow-form switch, all loop variants, and break/continue with labelled loops.
  • Write clear methods — overloading rules, parameter-passing semantics (value for primitives, reference-value for objects), and recursion that terminates.
  • Work fluently with arrays (single, multi-dimensional, ragged) and strings (String vs StringBuilder vs StringBuffer) — and know when each performs.
  • Build classes, write constructors that chain correctly, and reason about static vs instance state and the this keyword.
  • Use enums beyond constants — enum methods, abstract enum bodies, and patterns like state machines and the singleton-by-enum idiom.
  • Apply inheritance and polymorphism — overriding rules, dynamic dispatch, and the Object-class methods you actually need to implement (equals, hashCode, toString).
  • Pick between abstract classes and interfaces correctly — default methods, static methods on interfaces, sealed types, and the diamond problem.
  • Organise code with packages and access modifiers — when public, protected, default, or private is right; when final is load-bearing.
  • Handle exceptions deliberately — try/catch/finally, try-with-resources, checked vs unchecked hierarchy, and custom exception design.
  • Recognise the Java idioms interviewers and code reviewers target — core comparisons, when-to-use-what, and Java-in-real-code patterns.

About this course

Java Fundamentals is a practice course on Abekus built around 2,000+ MCQs that take you from zero Java to comfortable with the language — primitives, OOP, inheritance, interfaces, enums, packages, and exception handling. If you are starting Java for placements, picking it up for a backend role, or filling depth gaps before tackling Collections, Streams, or Concurrency, this is the foundation course that gets you there.

The format is one question at a time with an explanation that fires the moment you click a wrong answer. No videos, no passive reading — retrieval practice on every concept the language hinges on, in the same trap-and-edge-case framings interviewers and code reviewers actually use.

Jobs that ask for Java

940 live openings list Java as a required skill.

See all Java jobs ›
Learning path

Java Mastery

A complete Java learning track on Abekus — from language fundamentals through Collections, Streams, Functional Programming, Concurrency, JVM internals, and Interview Mastery. Free MCQ practice with instant explanations across every topic the language hinges on, designed as a progression: each course builds on the one before.

7 courses·12,793 practice MCQs·166h of content

Frequently asked questions