Originally posted by Udit Manektala: There's this problem that confuses me about intializer blocks. Why is this code not wrong\giving me an error. After all, it is redeclaring the variable width, right ? I came across this in the questions of the Mughal Rasmussen book and tried it myself and it works. I just need to know Why??... it doesnt make any sense to me.
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)