Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions