+ 2
class program{ Object obj = new Object(); //You can use any object type you want //If you want to create an object variable of class,that is not at the same package, you should import this another package! //You can even do something like this to make a reference variable of exact the same class program prg = new program(); //You could make a reference to the current object! program object_variable = this; }
10th Sep 2019, 4:45 AM
Julia