A - an interface.
B,C,D - implement A.
in an other class, say X, i have an array of A, that will hold some B, C, D.
i have a method that get (int i, A a) and put the a in the i place of the array.
->>>> how do i do it? - i need the actual type of a or i simpy do:
array [i] = a;
???