Browse tutorials by Category - Strings
Java String Methods (Eclipse)
Time: 2:59
|
|
| Average: 195 ratings | Your Rating: |
| 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
|
|
| Average: 191 ratings | Your Rating: |
| 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
|
|
| Average: 167 ratings | Your Rating: |
| 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. |
|