Hi!

Can you use some kind of variable like this ?

var = String;
String str = (var)io.readOject();

var = Integer;
int i = (var)io.readObject();