My solutions to the exercises of Java Programming, Comprehensive Version (11th Edition) by Y. Daniel Liang
I have found the book to be a great resource for someone who would want to learn the fundamentals of programming as well as algorithms and data structures. Since the solutions to these exercices are scarce on the internet and the only ones available are incomplete, I decided to share my work on the exercises. Hopefully this will help students and professionals to validate their exercise solutions and learn more about the contents of the book.
To the best of my knowledge, these solutions are correct. If you find anything incorrect feel free to create an issue or to open a pull request.
Many of these exercises are used as homework assignments in universities. If you have to do any of these exercises as homework make sure you understand the problem and solution instead of simply copying it. These exercices have proved to be invaluable as I navigate other challenges.
The exercises answered on this repository anchor to the seventh printing of the book (March 2017). Other printings of the book (especially older ones) may have exercises in a slightly different order.