SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Jatin Dhingra wrote:@Rob:
I will surely take care of putting code tags in future !!
when you say field, does it mean instance variables?
Reference variable "obj" which is defined as sup type, then holds reference to this object. so shudnt it give output as x:3 ?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Jatin Dhingra wrote:I m new to javaranch and didnt actually understood putting code tags on programs
Enjoy the full beauty of the english language. Embedded in this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|