İptal Edildi

Java assignment (Pet Shop)!

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


1).Class Pet


String petName;

int petAge;

float petPrice;

float petWeight;


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;


Public User(String ownerName)

public void addAmountToBalance();

Public float checkBalance();

Beceriler: Java

Daha fazlasını gör: pet shop system java, assignment pet shop, pet shop java assignment, java pet shop, virtual int, pet model, model pets, model pet, class diagram user, java assignment shop, write assignment, get java, VOID, shop, shop data, pets, pet shop, need shop, java database, int

İşveren Hakkında:
( 12 değerlendirme ) Rahim Yar Khan, Pakistan

Proje NO: #140924