 So one of the things that we have to deal with now that we're designing out code is Those visibility modifiers, and we've actually been seeing them And here's actually a great example of a visibility modifier right here that public so If I don't type it out if I don't just like we see here in student if I don't type out what type of Visibility modifier it gets by default. It is public So this is no different than me coming in here and putting Public in front of every single one of these things They're saying okay. Well, I don't I don't see the the necessary Point of that well public means that it has access Everyone has access to it. Everyone has access to it so public Everyone has access to it and This can be a problem. So say for example, we look at that test student. I make Randy Savage and Now that I have access to Everything what I can actually do is I can come in here and I can say s1 dot first name equals Bob and If We look at you know, if you're a fan of the professional wrestling world, you know, I don't want Randy Savage to be named Bob. I want him to be named Randy. The problem is because of our code Because of our our public visibility What happens is suddenly this test student Is gonna change my my first name Now why would I not want to do this? Well security vulnerabilities are in place, you know now I have access to data that maybe I should not have access to you know, what happens if I also had a public you know string credit card and When you make a credit card, I know this isn't real life But Before Suddenly I put inside their credit card information and let's see one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen so one too many Well, guess what I have access to that stuff now I can suddenly get Something even though I didn't you know build it over here because I know it exists over here. Guess what? I'm gonna have access to it Look at that. I now know Randy Savage's credit card number, you know time to go on a spending spree So what can we do? Well one of the other visibility modifiers that we can work with is something known as private Now what private does? only the class itself has access to it so now if I try and compile this Notice how I get in there suddenly. Oh, I can't I can't change first name to Bob I can't get the credit card number of Randy Savage because these are now private variables these are Private these are hidden away. I don't have access to them. The only thing I have access to are these public facing methods and constructors, so the only thing I can do is Get name now. This is actually a way we can do what's known as data encapsulation data encapsulation and Which is making data fields private and Then making those Getters and setters you now have control over what I can and cannot get with your program So if you don't want me Well, if you do actually, you know for whatever reason you want me to have access to your credit card get CC I Have to go through this process. I have to then return Credit card now I have access to it But what happens if I don't want to have access to it? Well, guess what I? Just don't create that method. So that's where we want to go with this as we now are creating more secure objects