Problem:
Question-Create a new class called Cat that includes the functionality below.
The new class has the attributes of:
Name – type String
Age – type integer
Weight – type double
Breed - type String
Declawed - type Boolean - true for has no claws, false for has claws
Be sure your classes have a reasonable complement of constructor, accessor and mutator methods. Every member variable must have at least one independent accessor and one independent mutator.
Example:
Public void setName(String name) mutator used to set name
Public void setBreed(String breed) mutator used to set the breed
Public void set(Boolean declawed) used to set claws or not
(You must overload the set method to set deClawed value)
Public String getName() accessor used to get name
Public String getBreed() accessor used to get breed
Public boolean getBoolean() access used to get the value of declawed
Ensure you use the “this” reference from within this class when referring to every instance variable or instance method of the current object.
Please create a Cat.java Class File.