0

String[] temp=null;
String st3=new String(temp);

I use this code but error message is shown.

I need how to recover this error.

2
Contributors
5
Replies
7
Views
7 Years
Discussion Span
Last Post by musthafa.aj
0

hi... thanks for your reply.......

i stored one string in string array.. Now i need to convert this string as object in java.

0

just i know only this idea now..

i don't know how exact i given...

String arr[]={"s","y"};
String str=new String(arr.toString());
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.