Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


Java for Programmers

via Codecademy


A quick primer on Java fundamentals for programmers.

### Why Java for Programmers?

This course is dedicated to programmers who are already familiar with the world of programming and are looking to become acquainted with the Java programming language. We designed this course to be a series of short, interactive articles that you can skim, dive into, or even skip. We did this so that you can use this course to both learn Java and to check as a reference guide.

### Take-Away Skills

Learn the basic syntax, how to work with arrays, object-oriented programming, and more.

### Course Creators
- **Curriculum:** Alex DiStasi
- **Curriculum:** Alisha Grama


  • Getting Started with Java: An overview of what to expect in Java for Programmers as well as Java fundamentals.
    • Welcome to Java for Programmers
    • Why Java?
    • Java Style Guide
    • Java and the Command Line

  • Basic Syntax in Java: An overview of basic syntax in Java.
    • Hello World and Class Structure
    • Print Statements and Comments
    • Variables and Types
    • Conditional Statements and Comparison Operators
    • Loops
    • User-Defined Methods
    • String Methods
    • Code Challenge: Loops Not Involving Traversal
    • Code Challenge: Using Loops With Strings

  • Arrays in Java: An overview of arrays and 2D arrays in Java.
    • Arrays
    • 2D Arrays
    • Code Challenge: Loops Involving Array Traversal
    • Code Challenge: Traversing 2D Arrays

  • Object-Oriented Programming in Java: An overview of object-oriented programming in Java.
    • Classes and Constructors
    • Object State and Behavior
    • Getter and Setter Methods
    • Scope
    • Inheritance
    • Polymorphism
    • Language Families

  • Java's Built-In Data Structures: Learn about Java's most popular built-in data structures.
    • Lists
    • HashMaps
    • Sets
    • Code Challenge: Loops Involving ArrayLists

  • Dynamic Programming and Additional Practice: Learn about dynamic programming and continue practicing Java with advanced code challenges.
    • Introduction to Dynamic Programming
    • The Knapsack Problem
    • Capturing Rainwater
    • Sieve of Eratosthenes


Start your review of Java for Programmers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.