Class variable initializers

G

Glen Able

I'm just trying to get a picture of how class variables are initialized.

I assume it basically just runs through them in the order they appear in the
class, which is why the initializer can't refer to another class variable
further down in the class. Are they allowed to refer to class variables in
other classes? Any other restrictions?

thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top