Here is a confusing question – what does the next code prints?
public static void doStam() {
try {
doExcption();
return;
}
finally {
System.out.println("Finally");
}
}
public static void main(String[] args) {
doStam();
}
public static void doExcption() {
String [] stam = new String[0];
//purpose exception
stam[1].toString();
}
Answer:
Finally
Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: …

Recent Comments
dante on Weekend project: Bluetooth multisender
how i send image to the devices from java using bluecove?????, this is part of may final proyect please give...Karol on Android – Multithreading in a UI environment
Hi All the examples I see so far implement the Runnable object as inner class of the main...faisal on Memory Game – Android Application
Hi, You have done excellent job. Very nice. Though I tried to build it but it did not build. Could you please...Avi on How to use fiddler+firefox to download files from streaming sites.
Try searching "Mpeg layer-3" instead.ashi on How to use fiddler+firefox to download files from streaming sites.
hi, i tried above i downloaded fiddler2 and also the script editor... also pasted the code but but i have problem in step...Rui Pedrosa on Android – Multithreading in a UI environment
A simple but very useful explanation! thanks!Hui Sunray on Using Hibernate Validator to cover your validation needs
I like your examplesSridhar on Weekend project: Bluetooth multisender
Excellent work and it is sending to many bluetooth devicesjetti on Android Development – Preferences
Hi, How can I add Icon/Image to each item in ListPreference? Is it possible to add our own icons...Eric on Android – Multithreading in a UI environment
Thx, helped alot :)