Question: What is the key difference between a static variable and a global variable 0 A. Only one of them needs to be garbage-collected. O B.

 What is the key difference between a static variable and a

What is the key difference between a static variable and a global variable 0 A. Only one of them needs to be garbage-collected. O B. They have different life time. C. They have different visibility D.They come from different parts of memory. Moving to another question will save this response. e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!