Question: Consider the following code snippet:public class Vehiclepublic void setVehicleAttributes ( String attributes ) public String getVehicleAtributes ( ) ( . . . ) public String
Consider the following code snippet:public class Vehiclepublic void setVehicleAttributes String attributespublic String getVehicleAtributes public String getModelName Assuming that the names of the methods reflect their action, which of the following statements about this class is correct?O setVehic leAtributes is a mutator method.O etehicleAttributes is an accessor method.O getehicleAtributes is a mutator method. gethode Name is a mutator method.
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
