Hi all,
please see this code..
public class Box {
private Object object;
public void add(Object object) {
this.object = object;
}
public Object get() {
return object;
}
}
In the above code what is the use of creating a object for Object class ?
i saw creation of object for Object class in some other examples.
what is the exact use of this ?
thankq very much