 So now that we've taken a look at designing a class I've gone ahead and taken that same concept and I started to flesh it out a little bit and Just like I we had looked at you see I have some class variables now. These are just declared I don't know what these are just yet. They just kind of exist But then I get into this new kind of term a no arg constructor and notice sort of what I've got going on here is I've got the class name again with parentheses and Nothing inside there. No parameters. No arguments. So I could Implement this now. I could actually instantiate a student by doing something like student s1 equal new student and because there are no Parameters inside. That's perfectly fine. That's where if you notice first name will just get my name and last name will get my last name Then we have an Argument constructor something that has Parameters again just like we saw with methods. I'm able to override This constructor. Sorry I'm able to override Constructors and so instead of s1 equaling new student with nothing I can do s1 equaling new student And I'll just even change it so Randy savage I'm able to do that and what will happen is F name will be replaced with Randy and L name will be replaced with savage and again Those will in turn be assigned it to the first name and the last name Now I can continue to go on with this but one thing I want you to notice is There is no main method My goodness well one thing to kind of take note of is I want to go ahead and say let's Actually compile this now before I do that. I want you to at least see something Here's where that student file is here's where it's residing as soon as I compile this What gets created is that dot class file notice that guy right there and inside there That's just the machine's implementation of my My object my source code. This is what gets talked to to the Java machine or the machine language machine code and you notice it still didn't freak out if I try and run the program however I Do get an error. I get a main method not found in student because there is no main method but What I can do Now that I've developed this Class now that I've developed this object that I can work in tandem with I can actually create Files that utilize it and as long as they're in the same area as long as You know test student is in the same folder Test student is in the same folder as this class file What I'm able to do Is public static void main string arcs Student S1 equals new student and What this is going to do if I compile this up test student You see I didn't get an error now. It doesn't do anything fancy right now. It just kind of It just Sits and does nothing but what I can do is now I have access to print s1 dot first name The variable the variable of my student class that thing I now have access to that There we go So I compile up test student and now I run it notice how I print out Adam Now one thing that we see so far is that I have My variables and my constructors, but I don't have any methods. I don't have any behaviors So I'm gonna go ahead and give myself something known as a class method called string get name and All this is going to do is now when I call get name. I'm gonna return First name plus Last name and then over in test student instead of Using just first name having access to this variable what I'm going to do is I'm going to actually say get name With the parentheses now remember I have to do those parentheses because this is a method. It's expecting Parameters, it's expecting zero parameters, but I have to do that. Otherwise it thinks I'm talking about a variable And so when I compile this up now You see I get Adam Guida Now again, that's using the no argument constructor I have a second constructor that expects two strings Randy savage or first F name L name Now if I include Randy Savage into this Compile and Run it notice how I I get that now what happens if I delete My student file Completely it's gone now. It's empty. I know it still kind of exists right here No, get rid of it. Now it's gone What happens if I try and run student It freaks out there's no class what happens if I try and compile it It freaks out. There's no student anymore I this is where objects start to come into play is because suddenly I have I had this this object this this thing this concept and I had materialized it into a living I don't want to say living or breathing, but a a a factual object That I could use in tandem with my other programs by not having it I now Don't know what a student is and my code as you can see crashes