Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do not just copy and paste my program as the answer, I'm looking for help on extra credit for my program 2 project. Thanks

Please do not just copy and paste my program as the answer, I'm looking for help on extra credit for my program 2 project.

Thanksimage text in transcribedimage text in transcribed

Project 02 Extra Credit Your code does NOT need to handle the case where you enter a substring that does not exist in the string (for example, trying to find the substring "kryptonite" in the string "The quick brown fox jumped over the lazy dog"). For up to 2 points of extra credit on this assignment: 1. Run your code and enter a substring that does not exist in the longer string. Using the errors reported by Eclipse, determine which line of your code causes this error to occur. 2. In the comments of your program, add a block under your name, date and other identifying information labelled "EXTRA CREDIT". Under this line, provide one to two sentences in your own words that describe the behavior of your code when you execute it (do NOT just cut and paste the output explain what it does in plain English). 3. After this explanation, indicate which line of your code causes this error and give a single sentence explanation of what you would need to do to be able to fix this problem. (NOTE: you may not know enough Java yet to be able to fix this problem yet, so you do not need to actually fix the problem. Just indicate in your own words what you would need to be able to do to fix the problem)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

3. Define the attributions we use to explain behavior

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago