• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

convert String into Object

 
kan ashok
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i convert the String value in to Object ?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A String is an object. No conversion is necessary; i.e.,
Object o = "A string";
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic