Hello,
I am trying to run the final program in the HeadFirst
Java Book by Kathy Sierra and Bert Bates and i get the following error.
Exception in
thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at BeatBoxFinal.main(BeatBoxFinal.java:40)
The coding is as follows:
public static void main (
String[] args) {
new BeatBoxFinal().startUp(args[0]); // args[0] is your user ID/screen name
}
can you please help
farukh