Reading data from a file using FileInputStream

 

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

class FISDemo2 {

public static void main(String[] args)
throws FileNotFoundException, IOException {
FileInputStream fis = new FileInputStream("abc.txt");
int data = 0;
while ((data = fis.read()) != -1) {
System.out.println((char) data);
}
fis.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...