My program contains a interface i1 in system sys1 & interface i2 in system sys2. I have to write a function in sys1 to get the attributes of either i1 or i2 based on the system , with out compilation error.
ie) if system is sys1.
x = i1=>attribute.
else if system is sys2.
x = i2=>attribute.
kindly help me to solve this issue with out getting compilation error.