Static in Java Tutorial #75

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 509

  • @alexlorenlee
    @alexlorenlee  Год назад +6

    If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h

  • @Claymore4Breakfast
    @Claymore4Breakfast 5 лет назад +1059

    You’re literally the best tutorial person. You don’t assume that people know things, you explain even the basic things and i love that. Thanks so much!

    • @alejandroguerenagonzalez2079
      @alejandroguerenagonzalez2079 5 лет назад +27

      Claymore4Breakfast not to mention, he is really well spoken. Never confusing and never used fillers

    • @andreassjo7268
      @andreassjo7268 4 года назад +10

      Totally agree! I'm going through a java programming class right now, and since the books we use are like "Hey! you already know everything about Java? Then read me!" I just simply read the tasks, then go to Alex channel to accually understand what the heck i'm supposed to do

    • @Smile-wd6rz
      @Smile-wd6rz 4 года назад +2

      @@andreassjo7268 I am doing the same thing, I'm doing a video game course and the guy said that it's better to learn the bulk of programming first then to start working on an engine. But he explains so quickly and sometimes he just comes with a new thing and says: Just copy it, like no man, I wanna know what it means so it can be in my head forever.

    • @spiceydice6968
      @spiceydice6968 4 года назад +4

      Yeah, he even explains the origins of "static" and the other alternative to static. Truly an amazing person.

    • @porkfreegaming5278
      @porkfreegaming5278 3 года назад +1

      I agree, this guy is awesome

  • @lordmzte724
    @lordmzte724 5 лет назад +334

    well "static" makes sense, because it does mean standing still: its in a fixed position in memory and its impossible for it to be instanced like with non static fields

    • @hyphen8d725
      @hyphen8d725 4 года назад +9

      What do you mean by instanced?

    • @TheHelghastkilla
      @TheHelghastkilla 4 года назад +9

      @@hyphen8d725 to be used, so like lets say you have a class and you instanced it, that meant you did the usual Class a = new Class();

    • @williamtrillion992
      @williamtrillion992 4 года назад +3

      @@hyphen8d725 instance means it’s well... an instance of maybe a method, or variable. It can change based on the new object you created. We could have a static variable that all car objects have 4 wheels. An instance variable could be the color or model of the car.

    • @ahmedtlm9488
      @ahmedtlm9488 3 года назад +18

      It means ! Let's say you have a class :
      class Car {
      static int a=0;. }
      So if you create 2 object of this class :
      Car c1 = new Car();
      Car c1 = new Car();
      The two object have a variable a = 3 right ?!!;
      Let's do this : c1.a= 1; // that's mean the variable a in the object 1 changed to value 3 ! Yes ! But since we put static keyword to the variable a another thing happen !
      all variable a changed to value 3 ! So if we do this :
      System.out.println (c2.a)// we will see : 3
      And also if we create a new object ;
      Car c3 = new Car()
      c3.a // by default equal 3!
      That's mean not only the variable on object 1 changed!!! But the variable in the class changed also and that's what really mean static keyword
      I hope you all understand

    • @ЮраЯньо-е1л
      @ЮраЯньо-е1л 3 года назад +5

      @@ahmedtlm9488 "The two object have a variable a = 3 right ?!!;" u maybe wanted to say a = 0, cuz a was intialised with zero here "static int a=0;"

  • @ghostropes
    @ghostropes 5 лет назад +117

    I'm so happy I found this channel, now I can binge and feel like I'm learning something XD

  • @benjaminhill5408
    @benjaminhill5408 3 года назад +7

    You deserve the views. You don't assume we know anything and that's what people need. I've learned more from you in 1 week of videos than a full semester at college.

  • @mohankumartech8396
    @mohankumartech8396 4 года назад +5

    Yes... Don't quit bro. Usually I don't comment in tutorials but your tutorials did make me comment. Because your way of teaching is simply and straight to the point. Keep up the Good wok.

  • @adultishgambino8713
    @adultishgambino8713 5 лет назад +57

    How are these tutorials so good? I’ve watched so many Java/Coding tutorials, none have conveyed concepts as clearly and effectively as you

  • @timjoyalle318
    @timjoyalle318 3 года назад

    Another great tutorial. I am at Florida Tech and I am a noob. They say they are structured to help all levels, but they are used to people from all over the world that have been doing this stuff for years. Your basic explanations really help! Thank you!

  • @rahmamohamed3757
    @rahmamohamed3757 9 месяцев назад

    This channel is a hidden gem I regret not searching deeply since beginning of studying java

  • @jacobkreifels7690
    @jacobkreifels7690 2 года назад +1

    Static as in the same value wherever it's used. The static keyword essentially tells the program that the object, variable, or method doesn't need an instance of it's parent class to be accessed.

  • @paulburger330
    @paulburger330 4 года назад

    Static only exist when/while the program runs.
    Came here to touch upon what I know already, but I can honestly say this is the best tutoring channel that I've come across!

  • @echiang73
    @echiang73 5 лет назад +67

    Awesome tutorial with great explanation, this is definitely a confusing concept and you make it easier to understand! BTW, static or "stand still" does make sense...the static variable can be used to refer to the common property of all objects (i.e. not unique for each object). For example, the college name of every student for a particular college. Suppose there are 100 students in my college, now all instance data members will get memory each time when the object is created. All students have its unique name, studentID, SSN, etc, so there is an instance variable for each student object. But, "college" refers to the common property of all objects. If we make it static, this field will get the memory only once. Since the static variable gets memory only once in the class area at the time of class loading, it has the advantage to make your program memory efficient (i.e., it saves memory).

    • @IUfidi
      @IUfidi 3 года назад +1

      Thanks for that...keep the fire burning! 🛸

    • @SponkADonk
      @SponkADonk 3 года назад +3

      Yes. This. This video would be good to be extended a bit to explain this. Static is used in classes when using inheritance too. Say you have a 'car' superclass and then classes of specific cars as subclasses. Well, (yes I know this wouldn't be necessary in reality) each car has 4 wheels so you could have a 'static int wheels = 4;' in the car superclass. It would be, as explained above, called one time into memory when the superclass is called and then each class for individual cars would be able to reference that without calling it EVERY time one of their individual car objects is called. That is nice for memory. Also, saves a little code.
      Hopefully that helped expand this idea.

    • @nightingale180
      @nightingale180 2 года назад

      +++ if you want to count the number of object created for that class having static variable , you can increment that static count =0 value each time you create an object and those changes will be reflected for every object you'll create ,
      so let's say static count=0;
      but you created 1st object and it got incremented it by 1(by using a function) that is now count=1;
      so next time when you'll create 2nd object the count will become 2;
      So this variable occupies single space in the memory and it is shared among every object of that class,
      so changes made by one object will be reflected back for every object.

  • @anthonymaestas7298
    @anthonymaestas7298 3 года назад +1

    Im about to cry over here... the extra three steps you speak of have haunted my life for the past 3 years. Thank you so much for clearing that up!!! You got a thumbs up and sub from me bud!

  • @karthikp7437
    @karthikp7437 2 года назад +1

    I love this guy so much, he literally explains even the simplest of things and that too it's easy to understand whatever that he's explaining... My favorite content from Alex is the Nested For Loop explanation... Subscribed immediately... The best tutor I've ever seen on RUclips till date.

  • @ghostek7792
    @ghostek7792 2 года назад

    you are absolutely the best man, you're like my spirit animal, everyone you say and the way you describe things is detailed enough to where it's easy to understand and I can grasp the general concept and expand on it in my assignments/reading if i decide to read lmao.

  • @Louyark
    @Louyark 3 года назад +3

    When instantiating an object you make a copy of only the non-static methods and attributes of that class but, the static part "attributes/methods/other" is excluded from the instantiated objects and remains unique to the class itself "only one reference exists". This makes it a great way to store metadata about your class and its instances. So normal variables are copied each time you instantiate a new object but static variables are only created once at the class declaration hence the keyword static. Also thanks for bringing this up this helped me dusting off some cobwebs somewhere in my brain :).

  • @shak876
    @shak876 5 лет назад +21

    Why would anyone dislike your videos... your channel is amazing keep doing what you’re doing

  • @abrorolimov837
    @abrorolimov837 Год назад +1

    You are the best instructor I've ever seen so far on YT. Thank you Alex for your videos. Keep it up

  • @oscarvergara6795
    @oscarvergara6795 3 года назад +1

    Same! Through my advanced algorithms class, I literally had no idea when to or not to put the static keyword, but I fumbled around so much with it until I finished my work without knowing exactly what the hell static was meant to do!

  • @NexxZt
    @NexxZt 3 года назад +4

    I'm taking a java class right now and i ALWAYS go to your channel after every lecture to have it reexplained by you. You make it so much easier to understand!

  • @VinicinConhecimentos
    @VinicinConhecimentos Год назад

    i loved how you say on the beginning of the video exactly what a was expecting to learn while whatching. No other video gave the importance to why/when use the 'static' Keyword. Excelent video and teaching.

  • @vadrudnev
    @vadrudnev 3 года назад +9

    Man, you can't even imagine how helpful your tutorials are! You saved a lot of headaches for me!

  • @andreeadan5595
    @andreeadan5595 4 года назад +2

    Thank you again for your great videos, Alex! As far as I know, you can change a static variable. Like if you have a method in your class, and also a static variable a=0, you can, for example, make a++ in your method and your static variable will actually change to 1. If you call again the same method (which increases your a), the method will no longer see a equal to 0 (even tho you had static int a=0), but to 1, so after the method increases your a again, you will actually have a=2; Also, if you have a function, let's say int add(int a){ static int b=10; a=a+b; b++; return a;}. The first time you call the function, it will use b=10; the next time you call the function, it will actually use b=11 (the increased b), even tho at the beginning of the function you say static int b=10; Hope I'm not saying wrong things.

    • @ariton2990
      @ariton2990 4 года назад +1

      Yes pretty much. Static means it belongs to the class and not to any instance. All instances share it. Only one copy of it exists. So if you changed the value, it would change for all instances.
      But you cant define static variables inside a method so your method int add(int a){ static int b=10; a=a+b; b++; return a;} would give an error because you tried to define static int b inside it.

  • @ginasomara267
    @ginasomara267 4 года назад

    The intro of your video explained the entire first year on CS.... So thank you SO much for the vid!!

  • @asmaabdullah9068
    @asmaabdullah9068 4 года назад +4

    simple and sufficient! thank you for this. Although I'd like to add a point, there's another difference between using the keyword "static" and creating an object to access the variable. When you make a variable "static", and change its value in any method, it changes throughout the entire class. However, when you create an object then access the variable from it and alter its value, it will only change for that specific object, not for the entire class. Hope this helps :)

    • @IUfidi
      @IUfidi 3 года назад

      Thanx!

  • @oppie2019
    @oppie2019 Год назад

    I just started learning java online. Just found your videos. Learning so much. Thanks

  • @just_matt3937
    @just_matt3937 Год назад

    This guy doesn't miss! Most tutorials on RUclips regurgitate the same things your professor said, but with more examples. It's all computer science theory, lacking practicality. However, Alex answers the questions you type in the search box lol

  • @sahilk263
    @sahilk263 Год назад +1

    Thanks literally the best explanation i have saw do far..helped a lot !!!!!!

  • @drewcode1603
    @drewcode1603 2 года назад

    Great vid. I've got confusions from other materials with lots of stuffs that sounds like jargons. Finally realized the term here. Many thanks.

  • @teachernewteacher1944
    @teachernewteacher1944 5 лет назад

    Aleex, you are so honest, humble person. I like you. This static was not clear for me too. I am soo happy to have you as a teacher. Keep teaching and share your experience.

  • @priyasubramaniyanvlogs9974
    @priyasubramaniyanvlogs9974 4 года назад

    Hey man, I usually wont comment for any youtube video but i cant stop myself from commenting to ur video. Im new to java and this error u mentioned above(cannot make static reference to non static field...) has been cracking my head for weeks and was really happy to get a soln from ur video. Keep rocking....

  • @jonguk759
    @jonguk759 4 года назад

    Hey Alex!
    I'm JongUk Park(Brad Park) from South Korea.
    First of all, I'm so happy about the fact that I found your channel on RUclips which is very helpful to me.
    I really appreciate you for sharing your amazing video on tutorial for Java beginners like me.
    All the best!
    Cheers!

  • @johnnyboy6338
    @johnnyboy6338 3 года назад +1

    Subscribed not only because you’re incredible at explaining things, but you seem like a wonderful person, continue doing what you love.

  • @bobchong
    @bobchong 4 года назад

    Thanks for the precise explanation with pratical example. Have searched elsewhere for a long time for a a clear explanation regarding for what static is for, but to no avail. Feel fortunate to have found you.

  • @fastiron272
    @fastiron272 4 года назад +1

    do not stop making tutorial videos you are the best out of all people online, your channel will boom believe me

  • @Ganeshkumar-on3cm
    @Ganeshkumar-on3cm 2 года назад +1

    Thanks!

  • @basfeld100
    @basfeld100 3 года назад

    Nice Video!
    Another way to say it would be;
    a static variable can be accessed from the class itself
    normal variables can only be accessed from *instances* of that class.
    So a static can be accessed even when a class is not instantiated!

  • @ninjatzH
    @ninjatzH 3 года назад

    I used to avoid static because like you I thought it means its an unchanging fixed variable aka static, god this makes so much more sense now. Thank you

  • @Krightowl
    @Krightowl 3 года назад

    Your videos are short enough for my attention span and you always answer what I came for. Thanks.

  • @vedachintha
    @vedachintha 2 года назад

    "I am not gonna stop, anytime soon...", Thank you so much. Keep bringing this content, please.

  • @darkhead612
    @darkhead612 3 года назад

    a simple video like this, just clarifies so much, it makes much more sense what i'm doing, ty :)

  • @fyoee5339
    @fyoee5339 4 года назад

    When I search for something in java and see your video in the results I get relaxed that I will understand it.

  • @moinhasanfatta3664
    @moinhasanfatta3664 Год назад

    Alex you are the best.. Atleast when it comes to java.. Usually I don't comment.. But you deserve one.. Dude

  • @atharvanarale6261
    @atharvanarale6261 2 года назад

    i love watching your youtube videos you explain each concept in detail so that can any average student can understand it.

  • @moontides5411
    @moontides5411 Год назад

    This guy is my goat, fr saving me before my exam

  • @dennisnikolayenko713
    @dennisnikolayenko713 4 месяца назад

    Finally a simple explanation that works for beginners :) Thank you! I feel like understanding this simple video makes it easier to progress further!

  • @amandabos6166
    @amandabos6166 4 года назад

    Once again your explanation was way better than the one from my teacher. Thanx

  • @InternetUser999
    @InternetUser999 3 года назад +1

    This is literally my new favorite channel! You make the absolute BEST tutorials and nothing else compares. Great job!

  • @zm7113
    @zm7113 4 года назад +1

    Wow, I've been confused about the keyword static for the past 6 months. This finally maked sense! Thank you!

  • @stefan9870
    @stefan9870 3 года назад +2

    Thanks so much Alex, you helped me clear out some missunderstandings regarding static keyword!
    Keep it up, really appreacite what you do

  • @ryanoliver6401
    @ryanoliver6401 4 года назад

    You are by far the best tutorial channel that I have found. Now every time I need to learn something I always search for one of your videos. By far, my favorite channel👌🏼

  • @mareyamwalead9444
    @mareyamwalead9444 3 года назад

    thank you so much from my heart ❤
    i have finel exam about oop and your videos helps me .as you said the college didn't understand us anything.

  • @dragonsea3673
    @dragonsea3673 5 лет назад

    Best Java teacher ever~ and u have to go through each video "thoroughly" ~ most online teachers just jump from this point to another quickly without explanation and which cause confusion Alex knows our "confusion"

  • @Skw384
    @Skw384 4 года назад

    Hard to find quality java content. You rock dude

  • @saugatsharma2227
    @saugatsharma2227 2 года назад

    Your video’s are amazing. No wonder everybody loves them

  • @antkiller98
    @antkiller98 5 лет назад +12

    Just started learning java , I’ve watched all your tutorials already and they have helped so much . I can’t wait to watch and learn more , keep up the great work!
    P.S you have a fantastic way of breaking down each step .

  • @novanoskillz4151
    @novanoskillz4151 2 года назад

    i looooovvveee how you explain things its easy to understand for us beginners. but its not to the point that people with experience would be put off. you really have a knack for this.

  • @fararian
    @fararian 4 года назад

    I am on chapter 8 of the book for a programming class and i just learned this. thanks for the excellent explanation.

  • @Adrian_Galilea
    @Adrian_Galilea 4 года назад +4

    Well, I was struggling with this concepts, and I stumbled across a couple of your vids, in this particular one I would recommend checking the video on Static Keyword by Telusko in youtube. This is not spam, I just think it's better explained there.
    What I understood from that other video summed up:
    -A static variable will have the same value for all the objects in a class(this is why I think static as a name might make more sense)
    -Opposite to object variables when you want to change a static variable value, you can call the variable by referencing the class instead of the object. EX:
    class Emp{
    static String ceo;
    }
    Emp adrian = new Emp();
    Now you can call ceo by:
    Emp.ceo = "Adrian";
    Instead of:
    adrian.ceo = "Adrian"
    -The reason why you need to declare it as static it's because main it's also static.
    -You can create a "static block" in a class (static {//something}) and will be only called once regardless of how many objects you instantiate.

    • @ariton2990
      @ariton2990 4 года назад +2

      Yes. And another point is that you dont need to create any objects to use static variabe. In ur example you could access ceo variable even without creation of any objects.

  • @Valeri005
    @Valeri005 Год назад

    thank you Alex really explained good this bastard static, I never was catching the definition of the static but now finally I got it especially when you named it global I was like "now all the pieces of the puzzle came together".

  • @mistique0vin
    @mistique0vin 5 лет назад +1

    Static is that part of the code that executes first before any other part of code. Hope this additional bit of info helps too.

  • @KirillMvS
    @KirillMvS 3 года назад

    Just quick note from my side to clarify the topic.
    Please note that I am new in Java so I may understand it incorrectly or on the very beginning level, but the following scheme kind of helped me to finally make it clear and hope will help you as well.
    Class variables: non-static and static
    When you create non-static Class variable it does not actually mean that this one is saved in the memory cell of your program and you can access this cell from the other part of the code.
    But it will be saved only once you create an object of the Class, and number of these cells in the memory, which contain your non-static variable, will depend on number of created objects of this class (copies will be made for each object). And when you try to access the non-static variable you should do it through the object because it is actually saved only for each exact object and not for the Class itself.
    Static variable makes it easer because when you create it, at the same time you actually save it in the memory for this Class (not object since you may not have an object at this stage). But since it is already saved in the memory you can access it from any part of your code.
    If I am wrong (which I pretty much sure and real memory processing may be different:) please correct or comment!

  • @archaeniac7846
    @archaeniac7846 3 года назад +7

    "Changes made in an instance variable using one object will not be reflected in other objects as each object has its own copy of the instance variable. In the case of static, changes will be reflected in other objects as static variables are common to all objects of a class."
    Source - GeeksforGeeks
    i think this is why its called static

  • @petervinzasuncion6407
    @petervinzasuncion6407 5 лет назад +25

    Your tutorials are great. Its very clear and informative. Im kinda binge watching your tutorials for a couple of days now. Im afraid I might finish watching all your videos within a month.

  • @saravananplays8414
    @saravananplays8414 4 года назад

    Hey man , you are doing great.Just don't stop java tutorial.it is very useful for cs graduate students

  • @-0-__-0-
    @-0-__-0- 2 года назад

    Thank you my man, for carrying us in this vast world of public static void main(String[] args) {}.

  • @akosuakoranteng3327
    @akosuakoranteng3327 2 года назад +1

    You're awesome thanks!

  • @eduardmagalona7366
    @eduardmagalona7366 3 года назад

    Your explanation is much understandable than my Professor. Big Thanks brother!

  • @leonardotomasi397
    @leonardotomasi397 4 года назад

    Thanks for your videos Alex, I am taking intro to CS II and when I am not understanding something I watch your videos and makes it much easier! I always advice people about your channel! Keep doing this great job!

  • @justkleedesigns
    @justkleedesigns 4 года назад

    your videos are brilliant, i realy love them. it helps soooo so much to survive university

  • @abdeselamselami4532
    @abdeselamselami4532 5 лет назад

    Thanks a lot Alex, for everyone the short-cut of System.out.println() is type sysout + hit buttons ctrl+space.

  • @solgl2565
    @solgl2565 2 года назад

    This man single handily made my life so much easier

  • @yoni1991
    @yoni1991 2 года назад

    Hi You are amazing! keep it up. you explain to me which is one our lecture with 10 examples of my trainer I was not understand him but you made it my day with 6 mint. good job.

  • @gregmoutsinga3109
    @gregmoutsinga3109 4 года назад

    it's 2020 and I'm still satisfied, thank u

  • @JustinTheVlogger
    @JustinTheVlogger 4 года назад

    You are more much better than my professor, I really understand how java works from basic into advance 'cause of your help, keep it up

  • @sase1017
    @sase1017 3 года назад +1

    It called 'Static' is because 'static' means the member is pointing to itself, rather than to an instance of object. Another word 'static' tells complier to run directly without creating object in the heap since everything needs to be an object in Java

  • @muntazimkhan2350
    @muntazimkhan2350 2 года назад

    @ Alex, you've been a great help with learning Java in a simple and easy to understand way. Thank you. And, you deserve WAY more support! Thanks again.

  • @noatorious
    @noatorious 3 года назад

    Awesome explanation. My students really benefit from your videos

  • @johnroy5169
    @johnroy5169 4 года назад +2

    absolutely love your stuff, i really feel like I’m getting a better understanding of the language because of how you explain each individual part of it. Keep up the good work bro

  • @peachybiscuit4531
    @peachybiscuit4531 5 лет назад +1

    Your videos are the best, god send for college students 🙏🏼

  • @seannoon9581
    @seannoon9581 5 лет назад +8

    definitely the best at explaining java !!

  • @ndumisongcobo2562
    @ndumisongcobo2562 3 года назад

    Alex you are the best Java Lecturer ever

  • @justagirl8757
    @justagirl8757 Год назад

    You can also use static if you need a variable that doesn't change. Like if you need the value of pi, and you define it as int pi = 3.14; it can be changed later on, however we don't want that, so we define it as static and that tells ide that it cannot be used elsewhere and value will remain the same

  • @ashadahmad651
    @ashadahmad651 2 года назад

    That was a nice explanation, I always had this doubt with static keyword. First I knew any variable that is static can be used directly in the without creating the class object and then secondly the issue was there was always a doubt about how things works with static in terms of accessing things. Like I thought static allowed for certain things to be accessed by certain other things.

  • @עדןמזור
    @עדןמזור 5 лет назад +100

    I think it's called static because it's place in the memory doesn't change or something like that, not sure. Nice video BTW!

    • @alexlorenlee
      @alexlorenlee  5 лет назад +31

      Oh right!!

    • @zachm4389
      @zachm4389 5 лет назад +16

      Static means that any class can access it. Normal variables will be different for different instances, and static variables will be the same for the same runtime. If you want a variable that does’t change put ‘final’ before it.

    • @MrJacqques
      @MrJacqques 4 года назад +19

      @@zachm4389 static has nothing to with who can access the variable. If you do "private static int a", only it's own class can use it.

    • @ilovedatfruitybooty9546
      @ilovedatfruitybooty9546 4 года назад +3

      @̇ bruh

    • @vpenywise
      @vpenywise 3 года назад

      As pretty much explained in the "Thinking in Java (4th edition)" book :)

  • @Christian_vd_Laan
    @Christian_vd_Laan 2 года назад

    this helped a lot with understanding this keyword, and how to implement it in my code. Now i don't need to creat so much object in my code te get it to work !

  • @ultra_mega_tronic_source
    @ultra_mega_tronic_source 4 года назад

    bro we support you so much...

  • @Josip9888
    @Josip9888 5 лет назад

    Alex you are amazing person. That's why you are getting more and more viewers. I hope you succeed big time in life and wish you all the best. Thank you for your great tutorials.

  • @514fadeaway8
    @514fadeaway8 4 года назад

    Off course you views will sky rocket, the clarity of this content is amazing please keep them coming,,,,,, you about to get me through my programming module,,,,cant say the same for that prescribed textbook

  • @GG-hk5iz
    @GG-hk5iz 3 года назад

    The reason your views for videos is increasing is because of the way you explain . Keep it up and thanks a lot for your work :)

  • @fuzedcable5612
    @fuzedcable5612 3 года назад +1

    Good vid! U showed the reason for the static creation, and how to use it. But that’s now the definition. Static means that you can’t instantiate it. You cant have multiple instances of it.

  • @kasrak.o2909
    @kasrak.o2909 4 года назад

    you deserve it man. im studying IT and your videos really help and more importantly you are really friendly, down to earth and sympathetic which makes me relay to your content alot more than i do to other videos. so keep it on

  • @angmori172
    @angmori172 2 года назад

    "In the Java programming language, the keyword static means that the particular member belongs to a type itself, rather than to an instance of that type.
    This means we'll create only one instance of that static member that's shared across all instances of the class."
    That explained it pretty well to me, and why it's called 'static'. I means this variable is the same, not just in number but in the physical memory there is only one instance of it, for all the instances of the class.

  • @alejandroirizarrynegron1065
    @alejandroirizarrynegron1065 4 года назад +1

    Love how you simplify these OOP concepts in Java. Thank you :)!

  • @parth9313
    @parth9313 2 года назад

    one of the best tutorials i have come across!!! thank you!!!😊😊

  • @boblitster8507
    @boblitster8507 4 года назад

    you explain all this so well...it finally makes sense!!!!!!!

  • @adamakomou7318
    @adamakomou7318 Год назад

    Thank you so much! You have no idea how insightful this video is.

  • @user-yd4zc6lt8z
    @user-yd4zc6lt8z 4 года назад

    You are awsome you clears my doubt in every single video.. so keep doing it

  • @ryanbudfuloski6280
    @ryanbudfuloski6280 3 года назад

    You are an incredible teacher! I've watched so many of your videos

  • @Jeffrey-uw8un
    @Jeffrey-uw8un 2 года назад

    Nice oop lessons mate i appreciate you for these lessons im on my way to the oop exam at uni rn and i think i can pass the exam now i will update after the grades revealed