INSTRUCTIONS:
1. Write a Scala class about an object oriented scenario other than the one discussed in thehands-on exercises. Include your name in this class so it is identifiable. Example: CarsSaber2. Write at least 2 functions in this class related to scenario where at least one function is ahigher order function. 3. In the main program, create at least 2 instances of the class and call the higher order functionwith an anonymous function. 4. Explain in you own word why higher order functions are more efficient in a Big Data settingthan just having the function as a method within an class?DELIVERABLES: Submit your code as text file. Along with your code, in a separate file, submit a screenshot ofyour output in Step 3 and the answer to Step 4.DO NOT submit any compress files (zip, rar, etc).