You are not logged in. Lock_open    

Video: 'Java String Substring (BlueJ)'

Java String Substring (BlueJ) Time: 10:14
Average:
  • Currently 3.0/5 Stars from 63 ratings
  •  
  •  
  •  
  •  
  •  
63 ratings
Your Rating:
  • Currently 0.0/5 Stars from 63 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Strings Debugging Process BlueJ
Narration language: Gb English
Flash_icon Watch Online 42.42Mb
Quicktime_small Download 12.34Mb (Right-click and select 'save as')

Description:

This video demonstrates a logic error where the program runs to completion, but produces the wrong output. The process of identifying, finding, and fixing the error is modeled. The error stems from the incorrect use of a formula to control the parameters of the subString method. The code attempts to throw away occurrences of the strings “cat” and “dog” as they are counted – but makes a mistake in doing so. The code is analyzed, corrected, and tested.



Leave a comment about this video...

What others are saying

tbasaldua @ June 15, 2009 13:51

Needs to explain how the method parses the text. Is the text parser a java method?

I did like the overall discovery of the solution.