Java is one of the most popular programming languages, and it widely used by top companies.
This class aim to teach basics concepts in Java and programming in the simplest possible ways. If you are completely new to programming and Java, We recommend you start with the first class and then get back to this one. This class is a bigger version of the first one, however, most concepts are reviewed in this class.
We are going to cover:
-Classes and Objects.
- Decision making
-Arrays and ArrayLists
Your project is to create a word counter program.
This program should read data from a file, then ask the user to enter a word. It should compare this word with every word in the paragraph from the file, then count how many times this word occurred in the paragraph.
1- Create a file and extract data from it.
2- Ask the user for a word and store in a String.
3- Compare this word with all the words in the paragraph using a loop.
4- Create a counter and count how many times this word occurred.
5- Print the counter.
6- Ask the user if he wants to try again.
Write your comment!
Access Permission Error
You do not have access to this product!
To download this product, follow these steps:
Please subscribe to the One Day VIP or higher plan. (Please click here to upgrade your account)