How to learn Java from scratch

Java is used for large business systems and Android apps. Learn the language first, then object-oriented design and a framework such as Spring.

Good for: Beginners aiming at backend or enterprise development. Typical time: 150–250 hours in total, depending on where you start.

The usual order of steps

  1. 1
    Java syntax≈ 30 h
    Types, conditions, loops and methods.
  2. 2
    Object-oriented programming≈ 40 h
    Classes, interfaces, inheritance and collections.
  3. 3
    Tools and testing≈ 25 h
    Maven or Gradle, Git and unit tests.
  4. 4
    Databases and a framework≈ 50 h
    SQL and the Spring framework.
  5. 5
    A portfolio project≈ 40 h
    A small web service with a database.

Free or paid?

Many good courses for each step are free; paid ones usually add a certificate, feedback from a teacher or a fixed schedule. Check the current price, dates and age limits on the provider’s own site before you pay.

Where to look for courses

Search these platforms for “Java programming”. Compare ratings, prices and the date of the last update before you choose.

Get a plan with real courses

Stepora turns this outline into a plan with specific courses in the right order, matched to your level, budget and free time. It is free and takes half a minute.

Build my plan

The hours are rough, typical figures, not promises. Plans are made by AI and may contain mistakes.

Other languages: Deutsch · Polski · Русский · Українська