A project which demonstrates how BufferedReader, Scanner, and Console classes are being used in command line based application.
Clone the project, go to the project folder and run the following command to use the Console class:
mvn spring-boot:run -Dspring-boot.run.arguments=--InputClass=Console
Run the following command to use the BufferedReader class:
mvn spring-boot:run -Dspring-boot.run.arguments=--InputClass=BufferedReader
Run the following command to use the Scanner class:
mvn spring-boot:run -Dspring-boot.run.arguments=--InputClass=Scanner