interface I1
{
int marks=100;
}
interface I2
{
int cla=12;
}
class interface1 implements I1,I2
{
public static void main(String args[])
{
int c,b;
c=I1.marks+10;
b=I2.cla;
System.out.println("marks :"+c);
System.out.println("class :"+b);
}
}
output :
marks :110
marks :110
class :12