Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what is the difference between string object and string variable?

807603Oct 22 2007 — edited Oct 26 2007
String obj = new String("java");
String objvar = "java";

what will be the difference between them?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2007
Added on Oct 22 2007
30 comments
1,426 views