JavaLanguage
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shriganesh_Chavan
Posted On:   Sunday, August 19, 2001 09:15 AM

Whats the size of the Object variable?

			
Employee[] empArr = new Employee(10);


In the above code the array will hold the references of Employee class object.
these references are hold in the object variable. In the above declaration how many bytes will be allocated to entire array ?
I am a C++ programmer so i am concerned about these issues.

Re: JavaLanguage

Posted By:   Luigi_Viggiano  
Posted On:   Sunday, August 19, 2001 01:01 PM

You cannot exactly determine the size in bytes of an object; there are similar questions in the FAQs.
About | Sitemap | Contact