The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
May 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

OOPS

Posted by Anto Prabhu on May 18, 2000 at 9:19 AM

Sir,
I got a doubt in allocation of memory
If we create two instance for a class which has
class A
{
int a;
void fn()
{
}
}

I Know java allocate seperate memory for member variable for
both the instance.
may i know whether it will allocate seperate memory allocation
for Function for different class instances



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us