What is the order of intialization of variables in Java.
When an object is created, all its fields are set to default initial values for their respective types(zero for all numeric types, false for boolean, u000 for char, and null for object reference.) Category:Java Interview Questions
No comments:
Post a Comment