I don't understand what is the conexion between args and the letters of english alphabet. How i read the english alphabet from the file args. I don't need the code, i need the pseudocode because i don't understand. Tk!
package com.codegym.task.task18.task1816;
/*
ABCs
*/
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
public class Solution {
public static void main(String[] args) throws FileNotFoundException, IOException {
FileInputStream fileInputStream = new FileInputStream(args[0]);
int count = 0;
while(fileInputStream.available()>0){
int data = fileInputStream.read();
................... //i have no idea!!!
}
System.out.println(count);
fileInputStream.close();
}
}