The aim of this app to open text file and binary files. For text files it just display file contents on the output. However, binary file it will displayed as hexadecimal see following sample:
Complete Java code to implements reading any file as binary file by showing each byte as hexadecimal on command line. Each byte converted to hexadecimal and its neighbor should sperated from each other by one space. As shown in the above image.