Supplier
Supplier is a functional interface which contains only one method i.e. get();
Use:
Supplier just supply the required objects and it won’t take any input
interface Supplier<R>
{
Public R get();
}
// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...