I have gone through a number of posts, but all seem to answer that where are the static methods of an interface stored. However, an interface can have abstract, static and default methods. I know about static and abstract methods. But, I am not able to find anything related to default method storage in memory.
I might be wrong, but I am of the idea that default methods will be stored in static heap space just like instance methods are stored with class. But, on top of this as well, I am confused if default methods are also allocated to stack frames once they are called considering that the implementing class does not override the implementation of default method in interface and there is no diamond problem.
I have referred below links:
Where are methods stored in memory?
Where are static methods and static variables stored in Java?