Question:

How should I pass String as an object ? I got an String from properties file and I want to pass it as object.?

by  |  earlier

0 LIKES UnLike

I got an String from properties file and I want to pass it as object in a method.

 Tags:

   Report

2 ANSWERS


  1. Create a new object and set it to your string.  A language would be helpful.

    Though you said method so I will assume it's Java.

    String myString = new String();

    myString = thestringyouhavegotten

    myString is your object.


  2. Your question sucks. Be more clear.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.