Learn Java
StartWhy Learn Java?
Java is among the most popular programming languages out there, mainly because of how versatile and compatible it is. Java can be used for a large number of things, including software development, mobile applications, and large systems development. As of 2019, 88% market share of all smartphones run on Android, the mobile operating system written in Java. Knowing Java opens a great deal of doors for you as a developer.
Take-Away Skills
In this course you’ll be exposed to fundamental programming concepts, including object-oriented programming (OOP) using Java. You’ll build 7 Java projects—like a basic calculator—to help you practice along the way.
Recently Updated
We’ve recently updated this course! For more information on why we did this update and how it might affect you, check out this blog post: Learn Java Updates.
Codecademy courses have been taken by employees at
- 1Welcome to the world of Java programming! Java is a popular object-oriented programming language that is used in many different industries.
- 2Learn about datatypes in Java and how we use them. Then, practice your skills with two projects where you create and manipulate variables.
- 3Learn about object-oriented programming in Java. Explore syntax for defining classes and creating instances.
- 4Conditionals and control flow in Java programs.
- 5Build lists of data with Java arrays and ArrayLists.
What you'll create
Portfolio projects that showcase your new skills
Planting a Tree
Write your first Java program from scratch by introducing yourself to users and planting a tree for them. You'll practice creating a class, defining the main method, and organizing print statements.
Java Variables: Mad Libs
Let's build fluency in Java fundamentals. In this next Pro Project, we're going to practice creating variables and printing. You have learned these skills already, so we're going to put them to the test by generating a story, Mad Libs style.
Math Magic
It's time to build fluency with operators in Java. In this project, we're going to practice arithmetic in Java so you can hone your skills and feel confident taking them to the real world. Why? Practicing computing integer values with Java's arithmetic operators will help you with a wide, wide range of Java tasks in the future. What's next? Some math, more Java, and a sprinkle of magic. You got this!
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory

— Madelyn, Pinterest“I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.”