Page 1 of 1

[HD Pg 0, Sec. 8.3.6 - static-initializers]

Posted: Sun Sep 16, 2018 9:14 am
by flex567
Can a static initilizer initilize the instance variable?

Re: [HD Pg 0, Sec. 8.3.6 - static-initializers]

Posted: Sun Sep 16, 2018 10:37 am
by admin
Instance variable of which instance? If you can answer this question, you will have the answer to your question.
You might want to go through section 1.5, 3.4, and 8.3.5. if you have any confusion. Let me know if you still have a doubt.
Paul.