3 Objects and Classes
Definition of classes: fields, methods, and constructors
PL/Object-Oriented Programming
Object-oriented design: o Decomposition into objects carrying state and having behavior o Class-hierarchy design for modeling
Learning Outcomes
Use SceneBuilder to create a FXML file for the user interface of a JavaFX program
Use a controller for Java code
Make an address book JavaFX application using a table view and FXCollections
Write code for a class
Use IntelliJ class diagrams
Use GitHub Issues and Project
Perform basic SQL statements
Resources
Oracle Java Tutorial
Java - Interfaces tutorialspoint
Videos
Classes and Objects (11:44)
Getters and Return Values (10:31)
Setters and "this" (10:57)
Constructors (10:18)
Object Oriented Analysis & Design Tutorial tutorialspoint
Exam Topics
Define and use fields and methods, including instance, static and overloaded methods
Initialize objects and their members using instance and static initialiser statements and constructors
Understand variable scopes, apply encapsulation and make objects immutable
Oracle Academy
All Oracle Academy work will be in the Java Programming course for the rest of the semester
1-1 Fundamentals of Java continued
Section 1 Quiz
Textbook
3 Introduction to Classes, Objects, Methods and Strings
Tutorial / Practice Activity
4 Using FXML to Create a User Interface
In IntelliJ, all JavaFX projects are FXML applications.
Use the line public class FXMLExample extends Application
Add public static void main(String[] args) {launch(args);}
Mastering FXML Tutorial 1
Mastering FXML Tutorial 4
Lesson Plan
Mindfulness
Previous week review
Resource reinforcement and clarification
Make a class
Export to image file
Right click -> New
Scene Builder
GitHub Issues and Project
Database preview
DBMS
SQL w3schools
Database tab in IntelliJ
Tutorials