Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
When static variable and non variable will be load or allocated in JVM
JVM struture is divided into three namely 1) class loader ( all the static variable & method are allocated). 2) byte code verifer. 3) execution engine ( all non static variable are allocated).
1 Antwort
0
static variables are loaded when you first access their parent calss