This class is designed to keep track of the replacement of standard
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

This class is designed to keep track of the replacement of standard

Task 4– Creation of Standard Equipment Class

You are to create a class named ‘StandardEquipment’. This class is designed to keep track of the replacement of standard (non-powered) equipment such as rakes, brooms and shovels.

You will need to create the class as outlined below:

• The ‘StandardEquipment’ class should inherit from the ‘Equipment’ class (take advantage of super)

• The class should have a constant value that sets the maximum time an item can be retained

• The class should have a property to store the durability of individual items and should also have associated functions to get and set the durability

• At class initialisation you should be able to set the make, model, purchase date and durability of the item

• The replacementYear function should be overridden to return the replacement year (based on calculations outlined in the requirements section)

Class - StandardEquipment

Properties


Hint
ComputerDurability is defined as a material's capacity to stay functional in its surrounding environment for the duration of its useful life without sustaining damage or requiring unexpected repair. For instance, a spacecraft that can withstand the pressures of many launches and reentries and be reused for decades....

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.