G
grava
With the code you've written each object have its completeAnalizer1 said:Hi....
when i use the new keyword
myobject obj1 = new myobject()
myobject obj2 = new myobject()
myobject obj3 = new myobject()
does each of the object have a complete instance of
myobject, or do they share the methods of myobject
another words..does each instance have a complet object/methods/date
withing itself
tks
public class myobject
{
public myobject()
{
....do some stuff;
}
public int dosomthing()
{
int iRet=0;
....do some stuff;
return iRet;
}
}
object/methos/date definitions. If you define something as "static" then the
static thing (data or methods) are shared ...
HTH