Question: Using Java write a program that asks the user for several tags related to books. Show the books that have any of those tags. Using

Using Java write a program that asks the user for several tags related to books. Show the books that have any of those tags. Using toString, equals, and static method.
(No bufferreader/try/catch etc. methods allowed).
Test cases shown below:
Filename: books.csv
Test Case 1
Enter tags (separated by commas):
javaENTER
Effective Java by Joshua Bloch (2018)- Tags: java, best practices, software, advanced
Spring in Action by Craig Walls (2018)- Tags: java, spring, framework, backend
Head First Java by Kathy Sierra (2005)- Tags: java, beginner, fun, easy to read
Java Concurrency in Practice by Brian Goetz (2006)- Tags: concurrency, multithreading, java, advanced
Test Case 2
Enter tags (separated by commas):
java,pythonENTER
Effective Java by Joshua Bloch (2018)- Tags: java, best practices, software, advanced
Spring in Action by Craig Walls (2018)- Tags: java, spring, framework, backend
Head First Java by Kathy Sierra (2005)- Tags: java, beginner, fun, easy to read
Java Concurrency in Practice by Brian Goetz (2006)- Tags: concurrency, multithreading, java, advanced
Automate the Boring Stuff with Python by Al Sweigart (2015)- Tags: python, beginner, automation, practical
Learning Python by Mark Lutz (2013)- Tags: python, comprehensive, beginner, advanced
Fluent Python by Luciano Ramalho (2015)- Tags: python, advanced, best practices, deep dive
Python Crash Course by Eric Matthes (2015)- Tags: python, beginner, practical, projects
Data Science from Scratch by Joel Grus (2015)- Tags: data science, python, machine learning, beginner
Python for Data Analysis by Wes McKinney (2012)- Tags: python, data analysis, pandas, practical
Test Case 3
Enter tags (separated by commas):
fiction,romanceENTER
Test Case 4
Enter tags (separated by commas):
Python,JAVAENTER
Effective Java by Joshua Bloch (2018)- Tags: java, best practices, software, advanced
Spring in Action by Craig Walls (2018)- Tags: java, spring, framework, backend
Head First Java by Kathy Sierra (2005)- Tags: java, beginner, fun, easy to read
Java Concurrency in Practice by Brian Goetz (2006)- Tags: concurrency, multithreading, java, advanced
Automate the Boring Stuff with Python by Al Sweigart (2015)- Tags: python, beginner, automation, practical
Learning Python by Mark Lutz (2013)- Tags: python, comprehensive, beginner, advanced
Fluent Python by Luciano Ramalho (2015)- Tags: python, advanced, best practices, deep dive
Python Crash Course by Eric Matthes (2015)- Tags: python, beginner, practical, projects
Data Science from Scratch by Joel Grus (2015)- Tags: data science, python, machine learning, beginner
Python for Data Analysis by Wes McKinney (2012)- Tags: python, data analysis, pandas, practical
Test Case 5
Enter tags (separated by commas):
algorithmsENTER
Introduction to Algorithms by Thomas H. Cormen (2009)- Tags: algorithms, data structures, theory, comprehensive
The Art of Computer Programming by Donald E. Knuth (1997)- Tags: algorithms, math, theory, classic
Algorithms by Robert Sedgewick (2011)- Tags: algorithms, data structures, theory, foundational
Test Case 6
Enter tags (separated by commas):
beginnerENTER
Head First Java by Kathy Sierra (2005)- Tags: java, beginner, fun, easy to read
Automate the Boring Stuff with Python by Al Sweigart (2015)- Tags: python, beginner, automation, practical
Learning Python by Mark Lutz (2013)- Tags: python, comprehensive, beginner, advanced
Eloquent JavaScript by Marijn Haverbeke (2018)- Tags: javascript, beginner, concise, modern
Python Crash Course by Eric Matthes (2015)- Tags: python, beginner, practical, projects
Data Science from Scratch by Joel Grus (2015)- Tags: data science, python, machine learning, beginner
Test Case 7
Enter tags (separated by commas):
advanced,concurrencyENTER
Effective Java by Joshua Bloch (2018)- Tags: java, best practices, software, advanced
You Don't Know JS by Kyle Simpson (2015)- Tags: javascript, advanced, deep dive, comprehensive
Java Concurrency in Practice by Brian Goetz (2006)- Tags: concurrency, multithreading, java, advanced
Learning Python by Mark Lutz (2013)- Tags: python, comprehensive, beginner, advanced
Fluent Python by Luciano Ramalho (2015)- Tags: python, advanced, best practices, deep dive
Compilers: Principles Techniques and Tools by Alfred V. Aho (2006)- Tags: compilers, theory, advanced, comprehensive
Domain-Driven Design by Eric Evans (2003)- Tags: software architecture, design patterns, domain modeling, advanced
The Elements of Statistical Learning by Trevor Hastie (2009)- Tags: machine learning, statistics, theory, advanced
Test Case 8
Enter tags (separated by commas):
deep learningENTER
Deep Learning by Ian Goodfellow (2016)- Tags: ai, machine learning, deep learning, neural networks
Deep Reinforcement Learning Hands-On by Maxim Lapan (2020)- Tags: deep learning, reinforcement learning, ai, practical

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!