When reading from a binary file in Java, what is important to ensure regarding the data types?
Binary files can only store strings, so no type matching is necessary.
Only the size of the data type is important, not the type itself.
The data types do not matter as Java handles type conversion automatically.
The read operations must match the write operations in type and order.