Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Object class creation in java (http://www.go4expert.com/forums/object-class-creation-java-t22963/)

kiranchanti 8Aug2010 00:46

Object class creation in java
 
Hi this is kiran

i would want to know this is correct or not

Object obj = new StringBuffer();

virxen 9Aug2010 04:11

Re: Object class creation in java
 
it compiles ,so its correct ,but does it do what you expect it to do?


All times are GMT +5.5. The time now is 06:06.