/home/caleb/ASDV-Java/Semester 2/Assignments/lab8_2_CalebFontenot/src/main/java/com/calebfontenot/lab8_2_calebfontenot/interfacesGrouped/TestInterfaces.java |
package com.calebfontenot.lab8_2_calebfontenot.interfacesGrouped;
public class TestInterfaces implements InterfaceGrouped1 {
@Override
public void IG1() {
System.out.println("TestInterfaces:IG1()");
}
@Override
public void I1() {
System.out.println("TestInterfaces:I1()");
}
@Override
public void I2() {
System.out.println("testInterfaces:I2()");
}
@Override
public void defaultMethodOfInterface() {
System.out.println("overriden implementation of defaultMethodOfInterface");
}
public static void main(String[] args)
{
System.out.println(TestInterfaces.x);
InterfaceGrouped1.staticMethodOfInterface();
TestInterfaces ti = new TestInterfaces();
ti.I1();
ti.I2();
ti.IG1();
ti.defaultMethodOfInterface();
}
}