You are not logged in. Lock_open    

Video: 'String Index Out Of Bounds (BlueJ)'

String Index Out Of Bounds (BlueJ) Time: 7:23
Average:
  • Currently 3.0/5 Stars from 39 ratings
  •  
  •  
  •  
  •  
  •  
39 ratings
Your Rating:
  • Currently 0.0/5 Stars from 39 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Runtime Error Logic Error Strings BlueJ
Narration language: Gb English
Flash_icon Watch Online 33.02Mb
Quicktime_small Download 10.38Mb (Right-click and select 'save as')

Description:

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.



Leave a comment about this video...

What others are saying