??????????δ???????????涼????????????????????к????????????????????г?????δ??????????????????

????1?????os.close()???????????????????????????????????鷳??

????2???????????????????Exception????????漰??Error???????try?????г?????Error?????????????

????3??close()????????????

???????????????????汾???

OutputStream os = null; try{
os = new OutputStream ();
// Do something with os here.
}
finally{
if (os != null) os.close();
}

????????汾???????????????????????????????????Error??????????????????????к???????????????????????????????close()????????????try/catch???С?

???????????????10#????????????catch ??

?????Щ??????????try/catch???????????????????????е?try???????????????catch?顣

????C++???????????????????????C++?в?????finally??????????try??????????????????????catch????????

??????????????catch???????????????????????????????????????

try{
// Nifty code here
}
catch(Exception e){
throw e;
}
finally{
// Cleanup code here
}

???????????catch?鱻????????????????????

try{
// Nifty code here
}
finally{
// Cleanup code here
}

????????????11#???????????equals??hashCode??????clone ?????

????????equals??hashCode????clone ??java.lang.Object???????????????????????????Щ??????????????????????????????????е????????????????????????????????????????????????????????????Щ??????????????????????????????Щ??????????д??????????????????????????? equals??hashCode??????clone????????????????????????????????equals??hashCode????clone????Щ???ɡ?

????С??

?????????????????????????????????Щ?????????????????е????????????????????????????????????????????????????????????????????????????????????????????????????????飬?????????????Щ????????????и????????????????????????????????????????