Đã hoàn thành

Solution of 2 Java Problems, OOPs, Inheritance and Polymorphism

Write My Bid on top before putting your bid.

Please ensure a standard of programming correctness, variable naming, placement of methods, cleanliness, indentation and camelCase within the code. Below I have attached a functionality table to assist with part 2, please let me know if you would like this in PDF form or if you have any other questions. Thank you.

public boolean insertProduct(String productString)

The boolean will indicate whether the Product was successfully created. Returns false if the product id already exists or if the StationerySystem is full. You will need to parse the Strings and create objects from them.

The productStrings will come in the following formats: PDT,id,name,quantity

STN,id,name,quantity,colour TECH,id,name,quantity,powerConsumption,warrantyPeriod FURN,id,name,quantity,weight,warehouse

public int inStock(int productId)

This should return the quantity of the product in stock, or -1 if the product doesn’t exist

public boolean sell(int productId)

This method will reduce the quantity of the item by 1 and return true else returns false if the quantity is 0 or the productId doesn’t exist

public boolean restock(int productId, int quantity)

This method will increase the stock of a particular product by the quantity specified, if the productId does not exist it should return false, else true. Assume quantity is always a positive number

public void printInventory()

This should print the store inventory in the following format and in the order they were loaded into the system:

Type Id Name Quantity Price WAREHOUSE

STN 0 Pencil 100 STN 1 A4 500 Pages 10 STN 2 Sharpener 10

$600.00 N

$120.00 N

$90.00 N

public void closeStore()

This should empty the StationarySystem and restore it to an empty state

Kĩ năng: Programming, Java Technical Architecture, Java, Object Oriented Programming (OOP)

Xem nhiều hơn: java programs read excel sheets write mysql database, adult communities online java problems, modify java code connectionacceptor uses print write, simplistic java problems, exam system solution mvc java mysql, solve java problems, safari java problems, java problems mac, solution row java, ebay java problems, inheritance polymorphism java, java graphics shape inheritance circle rectangle gui, java problems tube, solution counting words text file finding frequency write test mips assembly language program, virtuemart java problems, simple java application inheritance polymorphism, java project using inheritance, blackberry java problems

Về Bên Thuê:
( 2 nhận xét ) Delhi, India

ID dự án: #22430945

Được trao cho:

il8677

My bid: I am experienced in java programming and can complete this within 12 hours. Please contact me so we can discuss further details like what each specific task is.

₹1500 INR trong 1 ngày
(0 Đánh Giá)
0.0

5 freelancer đang chào giá trung bình ₹1190 cho công việc này

Sidhucs

Check [login to view URL] and [login to view URL] develop spring boot+hibernate+ payment gateway integration develop and maintenance by siddhu consultancy services private limited. First showing me the complete information Thêm

₹1050 INR trong 7 ngày
(0 Nhận xét)
0.0
xzylerneetes

I am an IT engineer with sound Java coding with 3 year of Java coding experience. Relevant Skills and Experience I have worked with standalone projects as well as web projects using technology like Spring, Hibernate O Thêm

₹850 INR trong 1 ngày
(0 Nhận xét)
0.0
growthnixdev

My Bid Hi, I was reading this project and I'm confident I can help you with this. I can provide you some samples and some of my references of work if you are interested. Please send me a message as I'd like to discus Thêm

₹1050 INR trong 7 ngày
(0 Nhận xét)
0.0
AfeefaRahnas

My Bid Hi, I work as a backend developer. I have built backed from scratch for more than 3 applications. I Have solid experience in software development and architecture. I have hands-on experience in java8, Spring Boo Thêm

₹1500 INR trong 1 ngày
(0 Nhận xét)
0.0