Java assignment (Pet Shop)!
This project is now closed with a project budget of N/A.Get free quotes for a project like this
Browse Related Skills
Other things people do on Freelancer
This application is a virtual pet shop…where users can come..register
Themselves there and can buy pets..Registration is not compulsory
but the registered users get the 10% discounts..User has its account
balance through which he can shop the pets..if user is out of balance
and try to buy a pet whose price is greater than his outstanding
balance system must inform the user to add the funds into balance
..Shop has different
pets with different names and colors…user is presented with a list of
pets along with their biodata..user can search for specific pet by its
name or its color..finally user selects the the pet which he/she
likes and become the owner of the pet and take it away to the shop..
According to the above pet stocks status is reflected in the
database..so next user wouldn’t be able to see the pet which is just
bought by someone…For persistence you should use files to write data on disk..
Insrtuctions:You need to make two classes as shown in the diagram
Below as a model for your [url removed, login to view] one Driver class to run the
[url removed, login to view] are open to add any mothd if you need which makes
public void setPetName(String);
public String getPatName();
public void setPetAge(int);
public int getPetAge();
public void setPetWeight(float);
public float getPetWeight();
Public User(String ownerName)
public void addAmountToBalance();
Public float checkBalance();
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online