Now after it's printed, the formal parameter is set to
point to another object.
So from this point in the method, the original object which
the actual parameter refers to cannot be changed.
So after the method finishes executing, that Bar's
value of barnum is still 99.
debasmita
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
debasmita
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |