The program creates three Device objects and then prints the total number of devices created.
Device
Your task is to declare the variable count inside the Device class such that:
count
Example Output:
Total devices created: 3
Test Cases
Test Results
Input
Expected Output