You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start with Person POJO. See that HashMap is built in.
Build tester method (public static void main) for Person Pojo. Test zero argument and all argument constructor. build toString method to display attributes of the class.
Correct the BUG in setStats! Currently, it won't let you do more than one date.
Add and modify stats
Build other attributes into POJO that were mentioned in project dialog at the beginning of this blog. Add 1 or more APIs. Use Issues to plan and track work.
Attributes
Height
Minimum steps to be considered active
BMI
BMI Classification
APIs
BMI
BMI Classification
setStats
Whether active based on steps
BMI
BMI Classification
SQL (Extras)
Start thinking about building other data into POJOs. Use your own example or alter it for a different application.
PBL/SQL Relationships. In POJOs you can define a relationship in SQL, the POJO Person and a POJO Day can be built to contain relationships (alternate to HashMap style). List is the interface and ArrayList is the implementation. It is possible to nest Lists in Lists for 2D. Read this article for Background.
The text was updated successfully, but these errors were encountered:
Blog on 2019 FRQ 2
Hacks
Attributes
APIs
setStats
SQL (Extras)
The text was updated successfully, but these errors were encountered: