Question: When a field is declared static, there will be: a copy of the field for each static method in the class only two copies of
When a field is declared static, there will be:
a copy of the field for each static method in the class
only two copies of the field in memory
only one copy of the field in memory
a copy of the field in each class object
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
