Vince Clark

Greenhorn
+ Follow
since May 15, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Vince Clark

I am looking for clarification. I am preparing for my certification exam and am getting conflicting info as to when variables and arrays are automatically initialized. As I understand it, all member variables (static or instance) are automatically initialized. False for booleans, 0 for all other primitives, and null for object references. Local variables are not initialized. Do I understand the rules of initialization correctly and do they also apply to arrays? Primitive array elements initialized to false or 0 and array elements of object references initialized to null?
------------------
Vince Clark
clarkvince@hotmail.com