Empresa engajada
making sure the output for word count is correct
Sigiloso
i said i will regenerate the file with the same and number of words. if both files are of same size that means output is correct.
public boolean wordCountVerification(File file) { if (file.isFile() && file.exists()) { s File newFile = new File(file.getPath()); long fileSize = file.length(); long newFileSize = newFile.length(); if (fileSize == newFileSize ) return true; return false; } return false; }
count the number of spaces, tabs and new lines.
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.