41 Java Static Variables Theory |

preview_player
Показать описание
"Learn How To Design + Code A Complete App From Scratch To Playstore"
-~-~~-~~~-~~-~-

This Java Tutorial video talks about static variables in Java that are maintained as a single copy across all objects, in other words, when one object modifies the static variable, every other object that will be created can see that change, static variables belong to a class rather than an individual object. static blocks are used to initialize static variables and get called before any constructor or before any object has been created.

OUR WEBSITE

OUR SOCIAL LINKS
Follow us on
Рекомендации по теме
Комментарии
Автор

237 FREE Java slides!!!
These slides teach you everything you need to get started with Java programming. I will be adding a PART 3 in addition to the two parts that will cover more complex topics. I was so excited with these that I couldn't wait to upload it ASAP!

slidenerd
Автор

Excellent i haven't heard abt static block in my syllabus.... but its awesome it really works man.... thanks for the most important concept man

altruistichumans
Автор

Wow. You're really good at clarifying things. Thank you!

rikorobinson
Автор

I haven't seen such a good explanation on youtube in quite a long time. Really well done here !

kristiyankralev
Автор

I didn't have to get to the part where you talk about the static itself, I understood the role. Excellent choice of example.

ibite
Автор

This explanation is epic! So is your "this" keyword explanation. Know why? Because you go straight to the reasoning behind *why* the keyword is used. The rules make perfect sense once you understand the reasoning. Nice job!

ifoundthewords
Автор

Its amazing I have seen many videos on Java but the ones from slidenerd are the most effective. The concepts are explained in a manner which is hard to forget. Some of the videos have graphics too which clarify all the impending doubts . 

My sincere thanks for sharing the knowledge . 

satyendrakumar
Автор

Hello..Sir...

All ur Tutorials are excellent....And ur voice make us active...It will increase the concentration in us....All ur tutorials r simply superb..

gayathridevi
Автор

best explanation of static variable i have read/watched so far

IrakliKhakhviashvili
Автор

If I print the two objects id's at the end (not right after each object is created) I got two numbers "2". the id is created when the object is created or when the id is called? I don't get that.

jesusn
Автор

your videos are highly understandable, thanks
I am a beginner, so I get errors in my codes more often, is there any facility of yours to get it corrected online ?

gopalsharma
Автор

BEST VIDEOS I HAVE EVER WATCHED ... keep it up bro ... this is very help full for us

faisalansari
Автор

These vids are great!  I like how you fully explain each concept! I will watch all your videos as I learn programming.  First, JAVA!

cambotandclay
Автор

very useful n easy to understand tutorials it very much the animated way of

madhurk
Автор

such a beautiful explanation sir, thank you soooo much for this tutorials,

harshithamg
Автор

I love how you can explin like this 😍😍🤩🤩🤩🤩🤩 thnxxx

noura
Автор

fantastic explanation keep it up pls make more vids based on java

harshwardhandeshmukh
Автор

is it possible to initialize a non-static variable inside the static block?

nancyjain
Автор

Thanks a lot @slidenerd! I was actually looking for a reason - what is static and why it should be used, scenario based. Your video explains it very nicely. I've subscribed to your channel, however, it will be great if you can also share some exercises (coding progs to practice) just below the video such that it will help the beginners.

Thanks again,
Cheers!

ranatech
Автор

any other tutorials from slidenerd?? if so plz inform

harshithamg