Wednesday, April 8, 2009

Tech Deck Spare Strucks

convert object to string [] and vice versa

Pedazillos of code .....
object Convert string [].

public String [] objectToArray (Object a) {
String [] c = null;
c = (String []) a;
return c;}


The conversion of the String [] a direct object is ...

arrayToObject public Object (String [] a) {
Object b = a;
return b;}


No comments:

Post a Comment