/home/caleb/ASDV-Java/Semester 2/Assignments/lab8_2_CalebFontenot/src/main/java/com/calebfontenot/lab8_2_calebfontenot/interfacesGrouped/InterfaceGrouped1.java
/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java to edit this template
 */
package com.calebfontenot.lab8_2_calebfontenot.interfacesGrouped;

/**
 *
 * @author caleb
 */
public interface InterfaceGrouped1 extends Interface1, Interface2 {
    int x = 10; //public static shared by all who implement or extend the interface
    abstract void IG1();
    
    static void staticMethodOfInterface() {
        System.out.println("A static method inside an Interface is shared by every class" +
                " that implements Interface InterfaceGrouped1.");
    }
    default void defaultMethodOfInterface() {
        System.out.println("The default implementation was used as there was no overriding" +
                " by a class that was implemented the Interface InterfaceGrouped1.");
    }
}