interface1 i;if(....) i=new class1();else i = new class2();
Originally posted by aymane chetibi: I know it's allowed is it dynamic biinding ??