Substring Occurrence Count

# Introduction In this challenge, we will complete the functionality of counting the occurrences of a substring in a string. The goal is to write a program that allows the user to enter a string and a substring separately, and outputs the number of times the substring appears. The code should be written in a source file named `StrCount.java` in the `~/project/` directory, as specified in the challenge preparation.

|
60 : 00

Click the virtual machine below to start practicing