Question: Write a Blueprint/data class of your own that groups together related information of interest to you (e.g. a Movie has a title, director, lead actor/actress,
Write a Blueprint/data class of your own that groups together related information of interest to you (e.g. a Movie has a title, director, lead actor/actress, year, etc. or a BaseballHitter has the following attributes: atBats, hits, runs, homeruns... and methods computeBattingAverage and printStats; the batting average would be computed as hits divided by atBats) and a Driver or main class that uses it (i.e. creates objects and calls methods on these objects).
- Another idea: read and understand Don't fear the OOP by Jos Claerbout (thanks to former student Philip for sending the link). Implement at least two of the classes: a Driver (e.g. Gunfight) and a Blueprint (e.g. WesternTown); encapsulate the objects; make each attribute private. Customize the given examples, i.e. by modifying the classes and attributes, according to the "novel" you want to write.
write in clear basic Java please with clean comments
Thank you will leave good rating
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
