how flat-file data access is done in java? What java technology is used for the purpose?
how rdbms data access is done in java? What java technology is used for the purpose?
Solution
java.io is used to read and write data to files. There are several good tutorials online such as this one and this one that will assist you with understanding the details.
JDBC is used to connect to databases. Again there are numerous JDBC tutorials online.