Arrays are created on dynamic memory by JVM. There is no question of static memory in Java, every thing (variable, array and object etc) is created on dynamic memory only.
No comments:
Post a Comment