Friday, October 8, 2010

Java New Operator

HI ,
Summaries the functions of 'new' Operator in Java?

1) Reserves Memory for the Non-Static members of the .class file in the RAM.

2) Loads all Non-Static members to the Instance.

3) All UN-initialized non-static variables would be Initialized with their Default Values.

4) Loads the Constructor (Defined/Default) to the RAM.

5) From the Constructor,first it Creates object of the Super class(if there is any) and then Procedure Continues with the Super Class Object.

No comments:

AWS certification question

AWS AWS Hi! this is for questions related to AWS questions. EC2 instances EC2 storage types cold HDD : 1. Defines performance in terms...