| /home/chloe/ASDV-Java/Semester 2/Assignments/lab8_2_ChloeFontenot/src/main/java/com/chloefontenot/lab8_2_chloefontenot/interfacesGrouped/fun/German.java |
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java
package com.chloefontenot.lab8_2_chloefontenot.interfacesGrouped.fun;
public class German implements European {
@Override
public void whatCountry()
{
System.out.println("+++ I am from Germany! +++");
}
@Override
public void speakLanguage()
{
System.out.println("speak German");
}
@Override
public void practiceReligion()
{
System.out.println("Protestant");
}
@Override
public void WWI()
{
System.out.println("in WW1 the Germans lost -- Axis!");
}
@Override
public void WWII()
{
System.out.println("in WW2 the Germans lost -- Axis!");
}
}