/home/caleb/ASDV-Java/Semester 2/Assignments/lab8_2_CalebFontenot/src/main/java/com/calebfontenot/lab8_2_calebfontenot/interfacesGrouped/fun/French.java |
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java
package com.calebfontenot.lab8_2_calebfontenot.interfacesGrouped.fun;
public class French implements European
{
@Override
public void whatCountry() {
System.out.println("+++ I am from France! +++");
}
@Override
public void speakLanguage()
{
System.out.println("speak French");
}
@Override
public void practiceReligion()
{
System.out.println("Roman Catholic");
}
@Override
public void WWI()
{
System.out.println("In WW1 the French won -- Allies!");
}
@Override
public void WWII()
{
System.out.println("In WW2 the French wan -- Allies!");
}
}