package june29; import java.io.FileInputStream; import java.util.Scanner; public class input_from_file { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); System.out.print("enter a file name with full path: "); String filePath=sc.nextLine(); FileInputStream fis=new FileInputStream(filePath); int bytes=fis.available(); int alphaUpper=0, alphaLower=0, numeric=0, space=0, line=1; System.out.println("showing file data ->"); while(true) { int var=fis.read(); if(var==-1) { break; } if(var>='A' && var<='Z') { alphaUpper++; } else if(var>='a' && var<='z') { alphaLower++; } else if(var>='0' && var<='9') { numeric++; ...