0

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).

9th Jan 2017, 4:21 PM
Annapoorani.H
Annapoorani.H - avatar
1 Antwort
0
static variables are loaded when you first access their parent calss
10th Jan 2017, 1:35 PM
Farzin Hooshmand
Farzin Hooshmand - avatar