Hama Kamal wrote:hi guys,,
in the SCJP6 book ,,,( by katy and bert ) >>>>page 133 >> rules for constructors:
i dont get the following two points could any one expalin it more with giving simple illustrating example for each!
1-Only static variables and methods can be accessed as part of the call to super()
or this(). (Example: super(Animal.NAME) is OK, because NAME is
declared as a static variable.)
2-You cannot make a call to an instance method, or access an instance variable,
until after the super constructor runs.