Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/dvdproject/
- Define a class DVD which has fields: String โTitle and Genre, Int Year and Number_in_Store, Float price. Make the class Serializable. Use a binary file for saving. Write an application that could be used in a store that sells movies. Use an array to store the Videos in. Allow a user to
- 1. Enter new videos into the array,
- 2. Sell a Video to a customer by looking the video up by title and displaying the price, if the customer decides to buy deducts 1 from the number on hand,
- 3. Add copies of an existing video to the store,
- 5. Change the price of a video,
- 6. List all videos in the store and number in Store,
- 7. Quit. When the user quits the videos are written to a binary file.
- When the program starts up it prompts the user for a file name and reads the videos from the file. If no file exist it starts with no inventory.
- Download: http://solutionzip.com/downloads/dvdproject/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement