Answer:
printArray(inventory, n);
Explanation:
The question doesn't specify in which language this has to be done, here's a generic call then... so if it's aimed at a specific language, some minor adjustments might be needed to respect the proper syntax/structure of that specific language.
Given:
printArray: function name, using 2 parameters.
inventory: array of ints
n : integer, number of items in array inventory
The call to the function would be:
printArray(inventory, n);
Answer:Interface segregation principle
Explanation: Interface-segregation principle (ISP) is amongst the major principles of the object-oriented design which describes that none of the users/clients can be forced for indulging and depending on the unknown methods or methods that they don't have knowledge about.
It functions by making the interfaces visible to the user that specifically fascinates them and keeping other smaller interfaces.Interfaces are made by splitting process and making the small interfaces from them.
You are changing the word