Question: write in java 1. Create a shopping class containing 5 objects name and price (range between 10-50) using serialization. Use deserialization to read the objects
write in java
1. Create a shopping class containing 5 objects name and price (range between 10-50) using serialization. Use deserialization to read the objects back from the file. The program should then print all the objects with their price and the sum of total price of all products.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
