Skip to content

Advanced Java · Week 2

Classes

Step 1 of 8

Java 2 Guided Tutorials - Week 2: Classes and OOP Basics

What You'll Learn

Welcome to Week 2 of Java 2! This week, we'll dive into the world of classes and object-oriented programming (OOP). We'll start with the basics of what a class is and how to create one, then move on to more advanced concepts.

Lesson Overview:

  • Introduction to Classes
  • Creating a Class
  • Constructors
  • Instance vs Static Methods
  • OOP Basics (Encapsulation, Inheritance, Polymorphism)
  • Quiz to test your knowledge
  • Weekly project to apply what you've learned

By the end of this week, you'll have a solid understanding of classes and basic object-oriented programming concepts in Java. Let's get started!

Quick check

  1. 1. What is the purpose of a constructor in Java?

  2. 2. Which of the following is a principle of OOP?

  3. 3. What is the difference between an instance method and a static method?