| /home/chloe/ASDV-Java/Semester 2/Assignments/lab8_2_ChloeFontenot/src/main/java/com/chloefontenot/lab8_2_chloefontenot/interfacesGrouped/fun/Italian.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 Italian implements European {
@Override
public void whatCountry()
{
System.out.println("+++ I am from Itally! +++");
}
@Override
public void speakLanguage()
{
System.out.println("speak Italian");
}
@Override
public void practiceReligion()
{
System.out.println("Roman Catholic");
}
@Override
public void WWI()
{
System.out.println("in WW1 the Italians won -- Allies!");
}
@Override
public void WWII()
{
System.out.println("In WW2 the Italians lost -- Axis!");
}
}