Skip to main content
Frames Local Variable
- Each frame has the array of local variables.
- The size of local variables array is determined at the compile time, and it passed in the bytcode for that class.
- Local variables are used by index.
- First local variable is store at 0th index.
- Second local raviable is store at 1st index and so on.
- long and double type local variables occupies two consecutive local variables in the Local Array,
- But the value for that long or double variable will be indexed using the lesser index.