Im trying to create a book list. I started off like this but idk
how to...
80.2K
Verified Solution
Link Copied!
Question
Programming
Im trying to create a book list. I started off like this but idkhow to continue?
public static int [] BookList (String title, String author, intprice, int copies, String category) {
}
I don't know what to do next in order to list a set of (lets say5 ) books and how to call it in the main (public static voidmain(String[] args))method
Answer & Explanation
Solved by verified expert
4.3 Ratings (731 Votes)
public static int BookList String title String author intprice int copies String category Return list type cannot int because we have both Stringsand int values in methodTo
See Answer
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
Unlimited Question Access with detailed Answers
Zin AI - 3 Million Words
10 Dall-E 3 Images
20 Plot Generations
Conversation with Dialogue Memory
No Ads, Ever!
Access to Our Best AI Platform: Zin AI - Your personal assistant for all your inquiries!