Question: 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
Get step-by-step solutions from verified subject matter experts
