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

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top