Student
Student
My object is a Macbook. The attributes are double storage, int numApps, String loadSpeed, int macNumber, boolean isNew and double repairCost. It has zero arg, multi arg, getter methods, setter methods and toString method. It has overloaded methods named abbreviation where one returns the first letter of the loadSpeed and the other is used to return the first three letters. Another method is setMacNumber where the instance variable macNumber has it’s value set to a random number between 0 and 100. Lastly, there is a getter method named dmgMac where repairCost’s value is raised to the power of 2 using the Math.pow method.