/home/caleb/ASDV-Java/Semester 2/Assignments/lab8_2_CalebFontenot/src/main/java/com/calebfontenot/lab8_2_calebfontenot/interfacesGrouped/fun/Italian.java |
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java
package com.calebfontenot.lab8_2_calebfontenot.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!");
}
}