The diagram below shows Mouse2 program methods, with their parameters and local variables indented, and the one instantiated object, with its instance variables indented. Your task is to construct a time line for each method, local variable or parameter, object, and instance variable. Each time line should show that item’s persistence (when it starts and ends) relative to the other items. To help you get started, we have provided the time lines for the
mainmethod and one of its local variables. Provide all the other time lines, and show how they align with each other and those already provided. (Assume that the object and its instance variables come into existence simultaneously.)
times →methods: Main |------------------------| Mickey |-----------------------| days setPercentGrowthRate getAge getWeight grow days iobject: mickey age weight percentGrowthRate
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.