Question: Create a new java class named MyCrawler. Add a class variable (int) to hold the maximum number of URLs to be visited. Give it a
Create a new java class named MyCrawler.
Add a class variable (int) to hold the maximum number of URLs to be visited. Give it a default value of 45.
Add a class variable to store the starting URL as a String.
Add a constructor that has a String argument and uses it to set the value of the variable from the last step.
Add a default constructor that sets the starting URL to a default value
Write setter methods for the variables.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
