I am studying File Input/Output, and I found that Java can read and write .dat class files. What is a .dat file? I know that Java can read .txt files, so is it similar or the same? What is the use of .dat files?
It is just a data file, no standards are defined. It can be character data, byte stream. eg. GOM video player tries to interpret .dat as byte stream. but u can also create a character stream, rite to file with extension .dat. GOM player just says unable to read.