You are not logged in. Lock_open    

Browse tutorials by Category - Strings

Java String Methods (Eclipse) Time: 2:59 Gb
Average:
  • Currently 3.0/5 Stars from 195 ratings
  •  
  •  
  •  
  •  
  •  
195 ratings
Your Rating:
  • Currently 0.0/5 Stars from 195 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Strings Eclipse
Description: click for more...

A short tutorial on working with string methods and dealing with the return value. Demonstration of the String substring and toUppercase methods.

Java String Substring (BlueJ) Time: 10:14 Gb
Average:
  • Currently 3.0/5 Stars from 191 ratings
  •  
  •  
  •  
  •  
  •  
191 ratings
Your Rating:
  • Currently 0.0/5 Stars from 191 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Strings Debugging Process BlueJ
Description: click for more...

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.

String Index Out Of Bounds (BlueJ) Time: 7:23 Gb
Average:
  • Currently 3.0/5 Stars from 167 ratings
  •  
  •  
  •  
  •  
  •  
167 ratings
Your Rating:
  • Currently 0.0/5 Stars from 167 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Runtime Error Logic Error Strings BlueJ
Description: click for more...

This video shows a StringIndexOutOfBoundsException caused by indexing beyond the end of a String. This happens in a nested loop, where the inner loop should stop at the end of a word. However, when the end of the string is reached, an erorr is thrown.