Question: 1)A static method can do which of the following? Select all that apply. reference instance data variables in the class reference static variables in the
1)A static method can do which of the following? Select all that apply.
| reference instance data variables in the class |
| reference static variables in the class |
| invoke other static methods in the class |
| invoke non-static methods in the class |
2)A non-static (instance) method can do which of the following? Select all that apply.
| reference instance data variables in the class |
| reference static variables in the class |
| invoke static methods in the class |
| invoke other non-static methods in the class |
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
