Computer Science, asked by Swapnil8477, 8 months ago

In Java, methods reside in ______________​

Answers

Answered by omkar7117
6

Answer:

The code for methods is stored in the Permanent Generation (<= Java 7) and Metaspace (Java 8+). The thread stack is used to store arguments passed to methods and their local variables. Classes are cleaned up when the Classloader which loaded them is unloaded.

Answered by KrupaMohan14
3

Answer:

The code for methods is stored in the Permanent Generation (<= Java 7) and Metaspace (Java 8+). The thread stack is used to store arguments passed to methods and their local variables.

Similar questions