aspose file tools
The moose likes Beginning Java and the fly likes convert  String  into  Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "convert  String  into  Object" Watch "convert  String  into  Object" New topic

convert String into Object

kan ashok

Joined: Feb 28, 2004
Posts: 8
How can i convert the String value in to Object ?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

A String is an object. No conversion is necessary; i.e.,
Object o = "A string";

[Jess in Action][AskingGoodQuestions]
Consider Paul's rocket mass heater.
subject: convert String into Object