Question: ALL IN PYTHON Problem 3 A Web site keeps track of downloaded files by using the Downloadinfo and FileDownloads classes. (a) For each download, the
ALL IN PYTHON

Problem 3 A Web site keeps track of downloaded files by using the Downloadinfo and FileDownloads classes. (a) For each download, the site uses a Downloadlnfo object to store a file's name and the number of times it has been downloaded. The Downloadlnfo class is constructed from a name of a file (a string). A file is initially downloaded zero times. The class contains the following functionality. 1. get name for retrieving the file's name 2. increment_count, which increments the number of times a file has been downloaded by 1 3. get_count which returns the number of times a file has been downloaded. Write the Downloadlnfo class by writing the appropriate constructor and methods that implement the functionality described above. Name variables appropriately, making use of design techniques class DownloadInfo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
