Java static keyword ⚡

  Рет қаралды 113,325

Bro Code

Bro Code

Күн бұрын

Java static keyword modifier tutorial explained
#Java #static #keyword #modifier #tutorial #explained

Пікірлер: 227
@BroCodez
@BroCodez 4 жыл бұрын
//************************************************ public class Main { public static void main(String[] args) { // static = modifier. A single copy of a variable/method is created and shared. // The class "owns" the static member Friend friend1 = new Friend("Sponegbob"); Friend friend2 = new Friend("Patrick"); Friend friend3 = new Friend("Patrick"); System.out.println(Friend.numberOfFriends); } } //************************************************ public class Friend { String name; static int numberOfFriends; Friend(String name){ this.name=name; numberOfFriends++; } }//************************************************
@HAPPYGUYFACE
@HAPPYGUYFACE Жыл бұрын
you spelled SpongeBob wrong
@mattoucas869
@mattoucas869 11 ай бұрын
@@HAPPYGUYFACE HAHA LOL
@blueturtlekhun
@blueturtlekhun 2 жыл бұрын
After all these years of using this modifier, I finally know what it's for. This was the first video I watched, and after this, I knew you were worth clicking that subscribe button. You need more subscribers, bro. Hope you cover more topics in the future.
@siddigahmed5200
@siddigahmed5200 Жыл бұрын
A kind of educator you do not want to miss. Thanks Bro.
@naychilinnlatt1092
@naychilinnlatt1092 Жыл бұрын
You are the first teacher who make me to enjoy in Java. Thank you so much Bro. I saved the entire course and this is the first comment of me after viewing 33 video of this course.
@nikitos2442
@nikitos2442 3 жыл бұрын
Even with my bad english I can understand you better, than my Java teacher in Austria.
@TheOctolink
@TheOctolink 10 ай бұрын
Relatable
@selcandalklc7972
@selcandalklc7972 4 ай бұрын
Hey, i also study computer science in Austria. Where do you study
@syedmuhammedabbasrizvi3900
@syedmuhammedabbasrizvi3900 2 жыл бұрын
Dude, what an explanation! I am very very happy because I got everything why I clicked this video, I was trying to get some proper understanding about the Static keyword in Java and you helped me. Thank You!!!! ❤️❤️❤️❤️❤️❤️❤️❤️😊😊😊😊😊
@angelomaminta9879
@angelomaminta9879 3 жыл бұрын
His Playlist deserves more views than this tbh. Thanks A lot man
@mohammadhasan5255
@mohammadhasan5255 Жыл бұрын
Ditto
@pavelkvasnicka6856
@pavelkvasnicka6856 Жыл бұрын
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
@firepower01
@firepower01 2 жыл бұрын
I spent my entire Sunday trying to figure this out. Thank you.
@cdjosh3568
@cdjosh3568 4 жыл бұрын
Another day, another great Java tutorial from Bro Code!
@jaym4358
@jaym4358 2 жыл бұрын
The best -- no BS -- explanation of the static keyword.
@Omsingh-pc5db
@Omsingh-pc5db 2 ай бұрын
Honestly man, you are one of the best person to learn coding from. 😊
@gusiwanaga7380
@gusiwanaga7380 3 жыл бұрын
+1 to more views! The way you explain is so clean, thanks a ton!
@koolraab
@koolraab 2 жыл бұрын
Very well explained! Never understood this concept until now. Thank you!
@professionalaveragekid
@professionalaveragekid 2 ай бұрын
probably one of the most comprehensive java tutorials, without cutting corners :D
@nikleduc2148
@nikleduc2148 3 жыл бұрын
Straight up love you man Why is no one else watching your vids
@vimann
@vimann 3 жыл бұрын
Me watching about an hour of yt videos about static: I don't get it It only took reading your definition to understand. Thank you so much, your content is so underrated. Liked and subscribed.
@ctluwua7695
@ctluwua7695 3 жыл бұрын
MY support will keep this channel running :)
@femioluwaleye3482
@femioluwaleye3482 2 жыл бұрын
Hey I noticed one of your decisions during this video and I thought it was horrible, it made me shudder even. When picking the 3rd friend, you picked Squidward....but over Sandy?? Anyways great video. Thumbs up. EDIT: I kept watching and I see you picked her as the fourth friend. My point still stands. Anyways, thanks again, great video, the explanations were quite practical so it's easy to understand!
@spyroszviolin
@spyroszviolin 3 жыл бұрын
You really enjoy learning programming with this Bro!
@milanincana6395
@milanincana6395 7 ай бұрын
I was going through my Java notes about to have a long night. Thanks for making this short and simple and helping me get some rest, bro. Needed it
@Pzdrs
@Pzdrs 3 жыл бұрын
after 4 years of java i now finally know how static works
@juliarigsby1459
@juliarigsby1459 10 ай бұрын
Bro, you made this so much simpler than two weeks of my professor’s lessons.
@faris.m17
@faris.m17 2 жыл бұрын
The static keyword took me a long time to understand, your video really helps.
@viperyogesh7634
@viperyogesh7634 10 ай бұрын
Thx bro didnt understood thru any websites your explanation is simple and clear
@myko_chxn
@myko_chxn Жыл бұрын
bro ur channel is literally a gold mine
@TayfunShen
@TayfunShen Жыл бұрын
I am watching your videos to learn java and it helps a lot. Thank you man!
@frei6913
@frei6913 2 жыл бұрын
This video made me fall in love with your channel
@mibo747
@mibo747 Жыл бұрын
perfect explanation... many other didnt really clarified
@pp8193
@pp8193 2 жыл бұрын
Dude I could kiss you right now. You probably saved me from failing my OOP class. This video legit changed my life
@BroCodez
@BroCodez 2 жыл бұрын
yay!
@heacac3729
@heacac3729 5 ай бұрын
man what can i say, finally understand this shit thank you my bro, god bless you😭
@sujayirrinki4915
@sujayirrinki4915 8 ай бұрын
Bro, you resolved confusion I had that I didn't even know I had. I always wondered why people could call methods from the class name and it was such a huge point of confusion. Now I know that when a Class name is used along with a method it was due to the static keyword being used.
@shagunprasad4592
@shagunprasad4592 7 ай бұрын
i couldn't help not commenting lol. thanks for this amazing video bro
@romario92730
@romario92730 3 жыл бұрын
very good and clear explanation, thank you very much
@MrSalvatorro
@MrSalvatorro 3 жыл бұрын
What's up Bro! Liking your style a lot!. It Took me a while to grasp difference between static and non-static members.. or class- and instance variables. But with your excellent explaining it finally makes sence. It can get so confusing if you mix field and method variables in the mix,
@siddigahmed5200
@siddigahmed5200 Жыл бұрын
A kind of educator you do not want to miss. Thanks Bro.
@omersond4891
@omersond4891 3 жыл бұрын
i like your explanations ;)
@dianamilenaarchilacordoba4632
@dianamilenaarchilacordoba4632 8 күн бұрын
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
@nawazkamboo8750
@nawazkamboo8750 3 жыл бұрын
Thank you bro. You're really clearing my doubts
@romandevera7871
@romandevera7871 3 жыл бұрын
Good job explaining that Bro!
@abdelmoneimdwedar2157
@abdelmoneimdwedar2157 Жыл бұрын
BRO ............ goddamn you're wonderful, keep it up much much love 💪💪
@khiemdo5527
@khiemdo5527 2 жыл бұрын
Great courses so far !!! Thanks so much
@lamias7712
@lamias7712 2 жыл бұрын
explained simplly and clearly!
@avejaymoradillo
@avejaymoradillo 11 ай бұрын
thanks for sharing
@johanrecaman
@johanrecaman 3 жыл бұрын
thx man, your videos are helping me a lot
@ysf9423
@ysf9423 Жыл бұрын
very good video thanks
@rhomiezhomeboy8270
@rhomiezhomeboy8270 Жыл бұрын
Thank you for wonderful video
@user-yz9cp6fp4k
@user-yz9cp6fp4k Жыл бұрын
2022- you are the best teacher
@danishuddin9752
@danishuddin9752 2 жыл бұрын
great explanantion
@Simis999
@Simis999 2 жыл бұрын
Bro has the power to explain
@hesham4744
@hesham4744 2 жыл бұрын
i wanted to like this vid more than one time 💖✨ keep it up buddy'
@gentle9964
@gentle9964 11 ай бұрын
thank you so much Bro. I saved the entire course
@mithunram5346
@mithunram5346 2 жыл бұрын
Simple and easily understandable , thanks bro ✌
@jahed1311
@jahed1311 2 жыл бұрын
dude youre great even better than my professor :D Thanks
@mrzetel
@mrzetel 2 жыл бұрын
Thanks for the wonderful explanation!
@mat_tails
@mat_tails Жыл бұрын
finally, a simple explanation of static
@JonasAnders-kn5yb
@JonasAnders-kn5yb Жыл бұрын
Thanks, for making this video. It was very helpful!
@liberospirito7840
@liberospirito7840 2 жыл бұрын
This was such a great help, thank you so much!
@herox6875
@herox6875 10 ай бұрын
Appriciate the knowledge bro
@drunkrifle
@drunkrifle Жыл бұрын
You are an OG for this
@Abaddon-u1i
@Abaddon-u1i Жыл бұрын
Thank you bro, here's a comment for the algorithm
@justinbanza4751
@justinbanza4751 3 жыл бұрын
Thanks for the video
@quarduroy1
@quarduroy1 Жыл бұрын
Great explanation, thank you. Subbed!
@DucNguyen-sd4mn
@DucNguyen-sd4mn Жыл бұрын
He is just too good at teaching that he forgets how to spell the word "Spongebob" LOL
@khalidhashimeh
@khalidhashimeh 11 ай бұрын
Nice
@Mirtguitar
@Mirtguitar 9 ай бұрын
Good tutorial.
@IhebChargui-u6u
@IhebChargui-u6u Жыл бұрын
Thank you Bro for your effort 👍👍🙏🙏🙏
@utku1376
@utku1376 3 жыл бұрын
Thank you for all Java content When i try the reach Math class i receive this error: Source not found The source attachment does not contain the source for the file Math.class You can change the source attachment by clicking Change Attached Source below:
@polimorphic13
@polimorphic13 Жыл бұрын
Thank you for your fabulous content, bro!
@hassanejaber6873
@hassanejaber6873 Жыл бұрын
Thank you Bro, by the way which video explains the static classes ?
@fanBladeOne
@fanBladeOne 3 жыл бұрын
Great explanation, thx!
@MendiCaspi
@MendiCaspi 2 жыл бұрын
Very clear and helpful
@NuanDaa
@NuanDaa 2 жыл бұрын
Great explanation but i am still confused. I think i am stupid.
@MateusFerreira-on3kp
@MateusFerreira-on3kp Жыл бұрын
tanks man, you're helping me so much with yours videos.
@jon_nova
@jon_nova 11 ай бұрын
Thanks for the tutorial!
@Diamond_Hanz
@Diamond_Hanz 3 жыл бұрын
Bro is ultimate bro!
@fernandoramadhani564
@fernandoramadhani564 Ай бұрын
so good
@kemann3815
@kemann3815 2 жыл бұрын
Truly the best! Cheers
@manojkiran5519
@manojkiran5519 2 жыл бұрын
You're the best......man!!!
@thomas_1611
@thomas_1611 Жыл бұрын
Excellent vids. So useful.
@danielpaul65
@danielpaul65 2 жыл бұрын
Very clearly explained
@AntoinesInnovations
@AntoinesInnovations Ай бұрын
Great videos bro!!
@roolee4349
@roolee4349 2 жыл бұрын
Great explanation
@mihanfernando9890
@mihanfernando9890 Жыл бұрын
nice
@quanyufeng579
@quanyufeng579 2 жыл бұрын
finally understand what is static means
@technorthman
@technorthman 2 жыл бұрын
I love learning w this bro
@FAHGVidz
@FAHGVidz Жыл бұрын
Ur the best bro
@robertwide6592
@robertwide6592 2 жыл бұрын
spasiba
@azerpashahuseynli444
@azerpashahuseynli444 3 жыл бұрын
very useful video
@lmao9619
@lmao9619 4 ай бұрын
you are th best \
@danny.3036
@danny.3036 3 жыл бұрын
Thanks, Bro! ☕ You're awesome!
@kiki.t2094
@kiki.t2094 2 жыл бұрын
Bro you are the best ))
@huuloc8719
@huuloc8719 2 жыл бұрын
Nice.
@Andboldquates
@Andboldquates 2 жыл бұрын
We need more "Java" videos
@jan5504
@jan5504 Жыл бұрын
so its like an arraylist of methods or variables? is static void better than hashmap when it comes to memory?
@p4vam910
@p4vam910 2 ай бұрын
Good Job Bro 💞
@williamhogrider4136
@williamhogrider4136 8 ай бұрын
I want to become a fellow bro
@pa-305
@pa-305 3 жыл бұрын
Best BROOOOOOO
@roflath757
@roflath757 3 жыл бұрын
When I opened the video I felt like I was on an airplane
@devonfunk5991
@devonfunk5991 2 жыл бұрын
He just constructed a group of friends
@jirimarek2659
@jirimarek2659 3 жыл бұрын
Hey KZbin algorithm!! HERE is where you should pay your attention!!
Java inheritance 👪
6:11
Bro Code
Рет қаралды 262 М.
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 123 МЛН
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 2,6 МЛН
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 50 МЛН
Java encapsulation 💊
8:27
Bro Code
Рет қаралды 111 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 104 М.
Java super keyword 🦸‍♂️
8:09
Bro Code
Рет қаралды 95 М.
The Flaws of Inheritance
10:01
CodeAesthetic
Рет қаралды 940 М.
#37 Static Variable in Java
7:06
Telusko
Рет қаралды 148 М.
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 28 М.
Java methods 📞
11:05
Bro Code
Рет қаралды 132 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 475 М.
Java lambda λ
18:00
Bro Code
Рет қаралды 93 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 123 МЛН