| /home/chloe/ASDV-Java/Semester 2/Assignments/lab8_2_ChloeFontenot/src/main/java/com/chloefontenot/lab8_2_chloefontenot/interfacesGrouped/fun/French.java |
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java
package com.chloefontenot.lab8_2_chloefontenot.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!");
}
}