In Java OOP LanguageDesign a class name FruitBasket offering multiple baskets to the customer.purchaseBasket(int apples, int mangoes, int bananas):The first basket contains thecombination of apples,mangoes and bananaspurchaseBasket(int pineapples, intpomogranates):The second basket contains thecombination of pomegranates and pineapples.purchaseBasket(intapples):The third basket only apples.The customer can set the quantity of the fruit in the basket, your method will return the amountthat customer need to pay for the purchased basket
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here