are methods stored in the heap or the stack?

Printable View