Thread: Object
View Single Post
  #1 (permalink)  
Old 01-10-2008, 01:10 AM
sireesha sireesha is offline
Member
 
Join Date: Nov 2007
Posts: 49
sireesha is on a distinguished road
Object
Hi all,
please see this code..
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
Reply With Quote
Sponsored Links