RSS feed [root] /weblog /java /fundamental




login:

password:

title search:




 


Fri Jun 22 10:10:12 GMT 2007

array



You can ignore the last comma in arrays - http://hanuska.blogspot.com/2007/02/trailing-comma-in-arrays.html

When you try to case an Array to other Type, you will get funny exception like
Exception in thread "main" java.lang.ClassCastException: [B

Which, showing that if you call new byte[0].getClass() , you will get "[B".


(google search) (amazon search)
second
download zip of files only