Consumer (I)
Consumer is a functional interface which contains only one method i.e. accept().
It accept some input and perform required operations and not required to return any value.
{
public void accept(T t);
}
// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...