Computer Science, asked by Jaiahdbdksj, 1 year ago

If a static variable and instance variable int are created in Java and two instances are created what is the memory occupied by each instance

Answers

Answered by agvab
0
Static variable are class level variables and are stored on stack whereas the instance level variable will be created on heap
Similar questions