Question: Please solve this exercise, and include code to be copied for the program, Java. In this exercise, you will implement an interface that we provide
Please solve this exercise, and include code to be copied for the program, Java. 

In this exercise, you will implement an interface that we provide for you and then complete each the methods so that they perform a set of indicated actions *File name: Lab3.java*/ interface Lab3 f static void isLeapYear (int n)() static void SMultipleOfTen(int n){} static void isodd (int n) () Instructions: You must create a file called "Exercise3.java" that implements the Lab3 interface. 1. To do this, you must first compile Lab3.java 2. Then make a file called Exercise3.java that conforms to the provided Lab3 interface. 3. Lastly, add the instructions, insides each method to complete the following requirements: ar (n): should print "n is a leap year" or "n is not a leap isLeapYe year" isMultipleofTen (n): should print "n is multiple of ten" or "n is not multiple of ten" isodd (n) should print "n is odd" or "n is even" /*File name: Lab3.java leap year" or "n is not a leap year" is multiple of ten" or "n is not multiple public class Exercise3 implements Lab3 isLeapYear (n)should print "n is a /*Do not change the main method. * public static void main (String [ args) [ int n1900 isLeapYear (n); isMultipleOfTen (n); isOdd (n); isMultipleOfTen (n): should print "n of ten" isOdd (n): should print "n is odd" or 'n is even" public static void isLeapYear (int n) public static void SMultipleOfTen (int n){ public static void isodd (int n) interface Lab3 /* Your solution goes here/ static void isLeapYear (int n) static void isMultipleOfTen (int n) ) static void isodd(int n) () /* Your solution goes here/ /*put your code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
