Question: Instructions: Using your notes as a reference, define an implementation class for an object of your choice. Can you make the object something like video
Instructions: Using your notes as a reference, define an implementation class for an object of your choice. Can you make the object something like video games?Create a Assignment project in the Mod Assignments folder.Carefully read the instructions before you attempt the assignment.Before you begin coding, use a word processor to create a class diagram.Refer back to your submission for the Getting Started with Objects assignment and carefully choose an object to implement for a new class.In the Assignment project, create a new class that should be named for your object this is the implementation or object class. Number it as V to match the PlanetV sample. For example, if you implement a student object, the class name would be StudentVProvide a default constructor for your object.Write two methods to perform an action or calculation for your object. Determine the return type and parameter list.Create a new tester class with a main method this is the client class. Use the PlanetTesterV sample as a guide. For example, if you are using a student object, the client class name would be StudentTesterVCreate an instance of your class using the default constructor no parametersDeclare variables to pass to the methods.Invoke or call all methods with your new object using dot notation.Print the results in a userfriendly format. see Expected OutputExpected Output: The following screenshot is an example of output for a StudentV object. The class contains two methods to calculate the average of two grades and the difference between the grades. Your output will differ based on the object you define.
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
