I have this programming assignment which calls for:
1) The user to enter a file to use.
2) Then the user enters a particular sub string to search for.
3) The object of the program would be count the number of occurrences of the particular sub string in the file.
I am a rookie programmer so I am really lost
I managed to get steps 1 and 2 complete, but I need help with step 3.
*** My teacher says that I can only use the charAt and length method of the String class.