/* *Copyright(c)2003,Oracleand/oritsaffiliates.Allrightsreserved. *DONOT * DO NOT ALTER DONOTALTERORREMOVENOTICESORTHISFILEHEADER. thetermsoftheGeneralPublic 2only,java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71 *publishedbytheFreeneedadditionalinformationany * *Thiscodeisdistributedinthehopethatitwillbeuseful,butWITHOUT *ANYWARRANTY;withouteventheimpliedwarrantyofMERCHANTABILITYor *FITNESSFORPARTICULAR.Seethe GeneralPublic *version2formoredetails(acopyjava.lang.StringIndexOutOfBoundsException: Range [1, 40) out of bounds for length 3 *java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 9 * *YoushouldhavereceivedacopyoftheGNUGeneralPublicLicenseversion *2alongwiththiswork;ifnot,writetotheFreeSoftwareFoundation, *Inc.,51FranklinSt,FifthFloor,Boston,MA02110-1301USA. * *PleasecontactOracle,500OracleParkway,RedwoodShores,CA94065USA *orvisitwww.oracle.comifyouneedadditionalinformationorhaveany *questions.
*/
publicclass VerifyDA { publicstaticvoid main(String[] a) {
String x; try {
x = "hello";
} finally { try {
System.out.println("x");
} catch (RuntimeException e) {
e.printStackTrace();
x = null;
}
} if (x != null) {
System.out.println(x);
}
}
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.3Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.