Creating an object of Object Type

We can instantiate Object class...My question is what is the use if i create object like below

Object obj = new Object();

obj what is the use?

venkat

[181 byte] By [venkat_84a] at [2007-11-27 11:11:36]
# 1

Not much, usually. Occasionally, though. For instance, if you want an object to use as a lock for synchronizing methods on

No, I don't think the compiler should stop you doing that. No, I don't think java.lang.Object is useless. No, I don't think that java.lang.Object should be abstract

georgemca at 2007-7-29 13:49:17 > top of Java-index,Java Essentials,Java Programming...
# 2

Object could either be String, int, float, etc....

Yannixa at 2007-7-29 13:49:17 > top of Java-index,Java Essentials,Java Programming...
# 3

> Object could either be String, int, float, etc....

No it couldn't

georgemca at 2007-7-29 13:49:17 > top of Java-index,Java Essentials,Java Programming...