Writing data to a file using FileOutputStream

 

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

class FOSDemo1 {

public static void main(String[] args)
throws FileNotFoundException, IOException {
FileOutputStream fos = new FileOutputStream("bbc.txt");
fos.write(10);
System.out.println("Data has been saved");
fos.close();
}
}

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