|
![]() |
I love Mozart (^o^)
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Ankit Garg wrote:you cannot access the value of a field before its declaration (as Mahima mentioned). That's why you are getting an error. Try these too
SCJP 6 - SCJD - SCWCD 5 - SCBCD 5
JavaEnterpriseEditionFaq - TomcatFaq
Welly Tambunan wrote:
Ankit Garg wrote:you cannot access the value of a field before its declaration (as Mahima mentioned). That's why you are getting an error. Try these too
but why the bold part is not cause compile error.
we read value of b and assigned to a ..?
confused...![]()
I love Mozart (^o^)
Welly Tambunan wrote:
Ankit Garg wrote:you cannot access the value of a field before its declaration (as Mahima mentioned). That's why you are getting an error. Try these too
but why the bold part is not cause compile error.
we read value of b and assigned to a ..?
confused...![]()
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Ankit Garg wrote:
There are some ways to confirm it but I don't want to confuse you...
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I love Mozart (^o^)
yen hoang wrote:Pleaon explain for me why the assign a certain value to a variable in instance initialization block is ok but increment ( or st like that) is not
I love Mozart (^o^)