July 13th, 2000, 09:18 PM
Hi,
I am new to Java. But i have worked on VC and VB.
I wanted to know what is equivalent in of VARIANT (in VC/VB) in Java.
My requirement is something like this. I have an array of values each of which
is of a different data type. i need to convert the contents of each of them
into the appropriate datatype and store in an object X.
Could someone tell me what 'X' should look like? In VC/VB its fine since i could have a array of VARIANT's and for each element i can set it types and store the data. how would one do it i Java
Thanks in advance,
Priti.
I am new to Java. But i have worked on VC and VB.
I wanted to know what is equivalent in of VARIANT (in VC/VB) in Java.
My requirement is something like this. I have an array of values each of which
is of a different data type. i need to convert the contents of each of them
into the appropriate datatype and store in an object X.
Could someone tell me what 'X' should look like? In VC/VB its fine since i could have a array of VARIANT's and for each element i can set it types and store the data. how would one do it i Java
Thanks in advance,
Priti.