Thursday, July 28, 2011

[android-developers] Re: Static Initializers - interdependencies

On Jul 28, 3:25 pm, Nick Risaro <nris...@gmail.com> wrote:
> I think that means that the JVM reads your code line by line and initialize
> the classes as needed, starting by your "Main" class. It only loads class A
> if your "Main" class has a reference to it, then stops loading the "Main"
> class and starts loading A, when A referrs to B, pauses the load of A and
> start with B, the resumes the load of A, and at last resumes the load of
> "Main".

Thanks. All clear now!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment