Wednesday, April 18, 2007

When are static and non static variables of a class initialized?

The static variables are initialized at class load time during compilation and non static variables are initialized just before the constructor is called.

0 comments :

 

Disclaimer
Interview Questions On Java,Java EE Copyright © 2016. Reads: best tracker