Consumer (Interface)

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.

 Interface Consumer<T>

{

      public void accept(T t);

}


Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...