|
|
| java |
Expert:Ramakrishna
i want pass values into string of array type dynamically.. how is it. see this is the small example
t="rams";// actally this is coming dyanamically coming value String[] st; st=tram;
how can i pass the values into string array datatype dynamically
|
| Answers |
Hi friend,
Please send me detail and explain detail problem according to requirement then i will give you proper solution.
Here is simple code.
class StringCharacter { static String[] roseindia={"chanan","tapan","Amar","santosh","deepak"}; public static void main(String args[]){ for(int i=0;i<5;i++){ System.out.println(roseindia[i]); } } }
-------------------------------
Read for more information.
http://www.roseindia.net/java/
Thanks.
|
| More Questions |
|
|
Post Answers
Ask Question
Facing Programming Problem?
|
|
|
|
|