line constructor in just a second but it sets aside space for you for its variables which are beginning and end we call the constructor math it's actually i didn't read this before we differ points below is actually happening we called the constructor if the constructor just a method just like any other methods to what happens with the snap it except the construct doesn't have at this point for associate with it because it had created the object get it's still in the process of creating the object what it does have though is it has the planners they get passed in twin what were the primer the gap asked them there p one ng p two what our p one and p two their pointers they're just values that are happen to be memory addresses so what i do is i pass a copy of there dressed thousand and a copy of the addressee thousand unseen i don't create new versions of p one p to all i do that pass copies of their address okay hurry clear on that that's the critical concept so what happens after that this guy comes along it says hey said beginning two d p one well what he won the gop asking to meet a thousand so it just sucks beginning to be found and then the next time comes across and says seconds to be p q well what's the key to the top asking to meet the fountain seat so it just send and sets tends to be p_-two and then it says hey undone i did my work on the constructor i did the two lines you told me so it's done all the memory that's allocated with this particular method call which are the two parameters and the overhead that's associated with calling this method all gap popped off the staff so they got popped off the stack and their barn and now we say hey thanks line constructor you just created a you know quite well thanks newyear allocated the memory for us thank you line constructor you want to head initialized all the fields that i needed for a line thanks a lot what do i do with that now and it says yeah what i need to do with us i'm not object whether object lives to the variable line and to the variable line which is over here on the spec is a local variable finally gets assigned you dress of the line object on the cheap which is it a felony so when the whole line executes basically what it's done is it's called the concetta side memory with new called the constructor had the constructor fill in the initial values and then what actually gets assigned for mine over here is the beginning memory dressed for the sop ticket without dominici and questions about that now here's the funky 