Java assignment (Pet Shop)!

CANCELLED
Bids
0
Avg Bid (USD)
N/A
Project Budget (USD)
$30 - $60

Project Description:
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 application.and one Driver class to run the
Application.You are open to add any mothd if you need which makes
sense
1).Class Pet
members
String petName;
int petAge;
float petPrice;
float petWeight;
methods
public Pet(String,int,float);
public void setPetName(String);
public String getPatName();
public void setPetAge(int);
public int getPetAge();
public void setPetWeight(float);
public float getPetWeight();
2).class User
String userRegistrationNumber;
String username;
Float balance;

methods
Public User(String ownerName)
public void addAmountToBalance();
Public float checkBalance();



Skills required:
Java
Hire umer2007
Project posted by:
umer2007 Pakistan
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.