Question: Please help me conduct the pseudo and source code in java. Write a class Store which includes the attributes: store name and sales tax rate.

 Please help me conduct the pseudo and source code in java.
Please help me conduct the pseudo and source code in java.

Write a class Store which includes the attributes: store name and sales tax rate. Write another class encapsulating a Yarn Store, which inherits from Store. A Yarn Store has the following additional attributes: how many skeins of yarn are sold every year and the average price per skein. Code the constructor, accessors, mutators, toString and equals method of the super class Store and the subclass Yarn Store; In the Yarn Store class, also code a method returning the average taxes per year. You should create a test class which creates 1 Store object and 2 Yarn Store objects, then calls your set methods, get methods, toString and equals methods and average taxes per year for the Yarn Store objects

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!