Vineet Kakati wrote:
I would also recommend against making different classes for book according to genre.
Instead you can add an instance variable genre to class Book;
refer my earlier post for creating array of books;
Agree you should not have lots in the main method. I prefer to see a single statement in main methods!Vineet Kakati wrote:you have put almost your entire code in main() which is not recommended.
main() should ideally contain only function calls to functions which actually do the tasks. . . .
star chaser..
What is wrong with its current location?Anita Odiete wrote:I was wondering where exactly i am supposed to put the 'to string' ... method
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|