I'm new to java and need help with creating a catalogue class for my java program
this is what i have been asked to do:
Create a Catalogue class that holds any number of products. Use an ArrayList, to hold
the products. Write at least methods
• addAProduct(…) providing a product as parameter
• getAllProducts() returning an ArrayList (or List)
• findProduct(…)taking a product code as parameter and returning a product
i have no clue where to start off and there's so much more that i have to do, if someone could give me an insight to what needs to written then that would be really great!
Thanks.
ps. please reply asap i need to complete this soon.