Creating a Thread Using Runnable Interface

 


//performing single task using single thread
//Creating thread by implementing runnable interface
public class CreateThread1 implements Runnable {

  @Override
  public void run() {
    System.out.println("Thread task");
  }

  public static void main(String[] args) {
    CreateThread1 c1 = new CreateThread1();
    Thread th = new Thread(c1);
    th.start();
  }
}

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...