Java II Intermediate
Java II focuses on object oriented programming features of Java programming language that belong to the subset covered in APCS A exam.
- Introduction to OOP
This lesson sets the stage for the lessons yet to come. Students learn how OOP can help solve pretty complex problems. They learn the difference between a Procedural and Object oriented code while working on a simple program.
- Classes & Object
Classes and object are building blocks of OOP program design. In this lesson, students create their first class in java. Using an object of that class, they call the methods.
- Static Methods and Final Keyword
Continuing with the previous lesson, this lesson introduces students to a special kind of method called the static methods. They also learn the behavior of final keyword.
- Encapsulation : Getter & Setter
Encapsulation is one of the four fundamental OOP features we will learn in this course. Students are introduced to private scope variables and how to bind that data with methods using encapsulation.
- Inheritance – I
Inheritance is what makes OOP stand out of the crowd. In this lesson, students understand the inheritance hierarchies. They design a subclass and a superclass to implement it.
- Inheritance – II
Continuing with the previous lesson, students learn about different levels of inheritance they can do. They are introduced to the super() keyword of java and learn when to use it.
- Abstract Classes
The third pillar of OOP program design is Abstraction. In abstraction, students learn how to show only relevant data and hide unnecessary details. To implement abstraction, students design abstract classes.
Another way of achieving abstraction in Java is by interfaces. In this lesson, students learn when to use interfaces and how to implement them in code.
- Polymorphism: Static and Dynamic
The last OOP feature for this course is Polymorphism. In this lesson, students learn the two types of polymorphism (static and dynamic) and implement them using method overloading and overriding.
- Library Packages
In the final class of this course, students learn how to pack their different classes, interfaces, and methods in a “package”. Also, they learn how to import existing packages to include extra functionality in code.
- Assessment Project
- Assessment Project Part II
Lesson 11-12 marks an end to this course. In these two classes, students will create a project using all the concepts they learn in the previous 10 classes.