Refer to the exhibit.
An engineer needs to provide code that meets these requirements:
• defines the network device object
• enables differentiation between device types such as switches and routers
• implements a method that appends a dictionary containing the networking device property values into the respective devices list
• upholds single-responsibility and dependency-inversion principles
Which code snippet meets these requirements?
danyboy
2 weeks ago