FanielHabte/Read-and-Write-Files-in-Java
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# Java File I/O Sample Data This folder contains practice files in multiple formats. Files: - sample_orders.csv - sample_orders.json - sample_orders.parquet - sample_orders.txt - sample_orders.xml - sample_orders.html Suggested Java practice ideas: 1. Read each file and print all records. 2. Filter orders where category = Electronics. 3. Calculate total sales = quantity * unit_price. 4. Write a new output file with only member customers. 5. Convert one format into another, such as CSV -> JSON. Notes: - TXT is pipe-delimited. - JSON is nested. - XML uses repeated <order> elements. - HTML includes a table for parsing or generation practice. - Parquet is a separate sample file included for binary columnar-file practice.