 So as you can see I've already whipped up the person class. I've got the student class hanging out We're we're gonna see it in just a second But just like we would always do when we design out these classes even though I'm using Name right here and name right here. They don't mean the same thing just yet So I have to establish that on my end and that's actually where this this Dot name equals this name this refers to my class variable This refers to my local variable and you see I get through all that and that's actually one good rule of thumb I like to do I like to always state this dot whatever I'm talking about specifically for that reason So now how do I? Obviously build it up for students. Well, if I take a look at student It's actually pretty much the exact same thing as we've seen in the past. The only difference is now Look at that guy Look what I've done there Extends person now What do I need to do here? There's actually a few things I need to do notice how I Continue to do this ID this Portion that still happens like usual, but now I actually have to say well, how do I how do I interact with? This guy, how do I how do I make these things? You know talk to each other That's the entire point of inheritance is I only have to make it run once and Set it and forget it the same way we use this We've been using this the entire time here and over Here as well. We do the exact same thing With something called super Super now is going to allow me to interact with my super class my parent class so if I take a look at This portion it let me get rid of this stuff for a second just to clear off what we're doing here and Let me even go so far as to get rid of the stuff inside here for a second Because what I want to go ahead and do is I'm going to go ahead and And I'm going to state your second Another second area What I want to go ahead and do is I want to put in all of that information. I want to interact with my super class my Super class so how would I do that? Again, the first thing I need to do is I need to utilize super super and There are a few things that I can do one of those things is if I want to utilize the super Constructor aka I want to utilize This guy right here What I need to do is I have to put super in front now what I have to do as well is I have to Give it some parameters remember. I'm still calling the constructor the constructor still takes something like a Name what else does it take? It takes a name address phone email, so I don't have too much for address, but one two three road My phone number nine one zero eight six seven five three oh nine and I he I'm and my email a a govita at Cfcc.edu and Just even ignore that for a second and boom now what happens when I do this is these parameters This guy this guy this guy this guy all of those parameters go up here they go to this Constructor they go to the person constructor, so what that does is then you know add them one two three road eight six seven five three oh nine a Govita at Cfcc those then get applied to these parameters now. You're probably saying to yourself Well, what if I don't want to just use text? Well, what we can do is we can add all of these parameters That we would need for the person class name String address, I'm gonna just shorthand it string Phone string Email I know that sounds like it's a lot of typing, but again now I can replace this with name I can replace this with address or ADR. I can replace this with phone and I can replace this with email and Again those will be passed to this version now one of the things that I can do as well is because I'm working with a Sub class that means I have access to not only My super my constructor, but I also have access to some of the other public facing Variable so I can do super Dot get Name what's really nice is I can actually create a new student say for example, I make a student Student s equals new Student and we'll just assume I have enough in my parameters here. I Can now do s dot get Name Where did we make it over here? I see enroll I see withdrawal, but where where is it? It's not here. It was inherited Inherited by our super class so now my sub class My sub class has access to it as well