Learn Java
Learn to code in Java — a robust programming language used to create software, web and mobile apps, and more.
Skill level
BeginnerTime to complete
Approx. 25 hoursCertificate of completion
Included with paid plansPrerequisites
None
About this course
Popular for its versatility and ability to create a wide variety of applications, learning Java opens up your possibilities when coding. With it, you’ll be able to develop large systems, software, and mobile applications — and even create mobile apps for Android. Learn important Java coding fundamentals and practice your new skills with real-world projects.
Skills you'll gain
Build core programming concepts
Learn object-oriented concepts
Create Java projects
Syllabus
16 lessons • 14 projects • 15 quizzesHands-on learning
Don’t just watch or read about someone else coding — write your own code live in our online, interactive platform. You’ll even get AI-driven recommendations on what you need to review to help keep you on track.
Projects in this course
- Project
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. - Project
Java Variables: Mad Libs
In this project, we're going to practice creating variables and printing. We're going to put your skills to the test by generating a story, Mad Libs style. - Project
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!
Learn Java course ratings and reviews
- 5 stars
- 4 stars
- 3 stars
- 2 stars
- 1 star
- Really helped me grasp the basics of Java that I couldn't really understand otherwise. I highly recommended this for new programmers or even lightly experienced ones such as myself and I will 100% recommend this to anyone I know who is into coding.Seamus B.Verified Learner
- Easy to follow and well explained. The concepts cover the range of topics that are vital to getting started in Java and challenging enough to be useful, but with enough help to let you understand if you get stuck.Chris J.Verified Learner
- I loved this course. It was very on pace for somebody who wanted to learn how to program properly. I've bene trying to learn for many years, but no one has explained it so simply as Codecademy. Thanks Codecademy!Mihai C.Verified Learner
Our learners work at
Frequently asked questions about Java
Java is an open-source, general-purpose programming language known for its versatility and stability. It’s used for everything from building websites to operating systems and wearable devices. You can even find Java in outer space, running the Mars rover.
Join over 50 million learners and start Learn Java today!
StartLooking for something else?
Related resources
- Article
Java and the Command Line
A brief overview of running Java through the command line. - Article
Java Program Structure
Java programs have a specific structure. Let's take a closer look at the Hello World program — line by line! - Article
Java Style Guide
Let's look at a few Java standards before we jump into the syntax.
Related courses and paths
- Free course
Intro to Java
Get started with Java by learning about the basics of a Java program and variables!Beginner Friendly6 hours - Free course
Learn Java: Loops and Arrays
Take your programming skills to the next level by learning about arrays and loops.Beginner Friendly5 hours - Skill path
Create REST APIs with Spring and Java
By the end of this Skill Path, you will have created your very own API using the Spring framework and Java language.Includes 9 CoursesWith CertificateBeginner Friendly20 hours
Browse more topics
- Cloud Computing3,952,070 learners enrolled
- Mobile Development1,807,173 learners enrolled
- Code Foundations12,507,297 learners enrolled
- Computer Science7,148,285 learners enrolled
- Java1,654,558 learners enrolled
- For Business9,519,819 learners enrolled
- Web Development6,631,662 learners enrolled
- Data Science5,576,443 learners enrolled
- Python4,370,504 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.