Campbell Ritchie wrote:Since there already is a class called Number, you should consider a different name.
Amar Saikia wrote:. . , I can go with a class say Number which contain the int value. . . ..
if java is pass by value and we are sending the copy of c1, then why any change made to that copy resulting into the change in c1
Tushar Goel wrote:So you mean to say when i called doSomething() then "this" was LoggingWidget. So it acquires lock on it and
when super.doSomething() is called then "this" was Widget. Hence it acquires lock on it.
I've already seen large code blocks inside JSP's