Write an equivalent lambda expression that implements the fu…

Write an equivalent lambda expression that implements the functional interface T1 that could be used to replace the anonymous inner class given below. An example inner anonymous class implementation is given below. The body of the implementation must match the implementation given. Note: you only need to write the lambda expression NOT the entire block of code below. public class FinalExamClass { public static void main(String[] args) { FinalExamClass myFinalExamClass = new FinalExamClass(); myFinalExamClass.doStuff(new T1() { public boolean isBigger (int a, int b) { return a > b; } }); } public void doStuff(T1 t1) { t1.isBigger(5, 1); }}interface T1 { public boolean isBigger(int a, int b);} Make sure to select the ‘Preformatted’ style from the dropdown so your code is formatted clearly. DO NOT USE THE TAB KEY WHEN WRITING CODE AS YOU MAY ACCIDENTALLY SUBMIT YOUR EXAM. USE THE SPACE BAR INSTEAD.

Given the code, is Missing a checked or unchecked exception?…

Given the code, is Missing a checked or unchecked exception? Is Location a checked or unchecked exception? Missing: [Item1] Location: [Item2] class Missing extends Exception {     public Missing(String msg) {         super(msg);     } }  class Location extends RuntimeException {     public Location(String msg) {         super(msg);     } }