Skip to Main Content

New to Java

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!

How String class works??

807601Mar 20 2008 — edited Mar 20 2008
Hi,
Anyone please tell me that How String Class works in Java? How it directly accepts the value to it ( String str = "Hello") ? Shall we also creates own class and can we assign value to it directly like this?


Thanks in advance,
Sathish kumar D
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2008
Added on Mar 20 2008
3 comments
269 views