Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. Create a Video Game and Video GameTester classes. The Video Game class should contain a constructor that accepts the name, cost, platform and game
2. Create a Video Game and Video GameTester classes. The Video Game class should contain a constructor that accepts the name, cost, platform and game category parameters, the constructor header should look like this VideoGame(String aName, double aCost, String aPlatform, String aGameCategory). Include getters and setter for each of your instance variables. The Video GameTester should test the constructor and all 8 of your getter/setter methods. DON"T FORGET COMMENTS FOR YOUR METHODS. Test the class with three different games. Video Game (sample data) Name Super Mario Brothers Cost 59.99 Platform Wii Game Category Action/Platformer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started