little scary how do you think he ran up here or there is at the very first address zero three zero zero but one we actually write these addresses even though they would translate into some decimal value we were forgive them with hexadecimal and the reason why we do that is we want to distinguish them as being addresses or locations of where things live in memory as opposed to the actual content submit so some more yeah at this location there may be stored without u tenants on binary representation but we want this thing was the best ten is not be a dress ten it's a number ten it's an integer ten whatever may be where there's some address that we care about the fact he did and that's why we distinguish between when you're running her programs whereas all those memory coming from and it turns out there's two different sections there's actually three different sections of the two that mostly relevant to you of where your computer actually says hey this person just declared an integer or this person is called a method or the spartan described an object where am i going to get the memory to store all of the information that's associated with their integer or there are checked or their math and so the places where it's very comes from not show you all three someplace where all of your static variables or your constancy kind of thing coming out of their final variables there are some special place with set-aside so this is kind of special or if we want to get multiple choice specialities so it's special and basically we have static variables in conference there just one of the special location where the special occasion we don't really care it's probably one of the special occasion now the side are static variables and constance the fifty billion what the beginning of our program a get started and heartbeat all these things come into being all of our constant and they never change which means they don't need to be in some portion of memory that we access regularly they just need to be somewhere in memory that we know how to refer to them and not talk we could have dynamic variables and what are dynamic very thank you karen just any variable that you used new line right so when you say new some object like ise neji opal and pattinson parameters that's dynamic variable and the memory that comes from a dive for a dynamic variable when you do this thing called a new is something called they keep you can think about the heap is answered by the big pile of clothes when you need closure come along and say hey i need some new clothes and he gives you some clothes and when you're done you started just say hey i'm not wearing those clothes anymore in someone mad to play down the line wonder the piece of clothing that you stop wearing the computer knows that you've stopped worrying and it says i'm going to go take that memory back it's called garbage collection it's going to be nice if there is like a little no major help them like when you stop one of his clothes and they knew who you were done with it because he has had no way of ever getting back to that particular t-shirt again they just went through the trash org or they could to recycling even more useful things actually do that would be a form of garbage collection its memory from the heat just get weekly wants no longer being used but as long as you're using it so if you have some g over while checked over here which which is called g as long as do you still being used this memory still set aside for you in a place called the heat showed it's kind of set up in just a so that's but not least decides that variables anythign amich variables there's another kind of variable that we care about which are local variables so vocal variables come from a place called to be differentiated from and the difference between the stack in the heat is therefore the stack whenever you have local variables in a method or you also have parameters to mfn_ write those parameters remember you get copies of the bodies of the primary means they have to live somewhere in memory some memory gets a set aside for you automatically in this place called the state when you have your local variables in your pram reading your method is running those variables are alive and when those variables kaleidoscope like the method actually ends or you get some closing curly brace in which it because of a very both actually uh... go away the variables go out of scope in one sense or another then the stack of automatically said hey i'm going to take that memory back again the memory at least in the javaworld automatically managed for you can come from sort of a senior c cost plus world in your life all how do i free memory you don't worry about it java is taking care of or you know it's a good time what is the fact that looked like in the machine in the computer's memory 