//************************************************ 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
Жыл бұрын
you spelled SpongeBob wrong
@mattoucas869
10 ай бұрын
@@HAPPYGUYFACE HAHA LOL
@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.
@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.
@siddigahmed5200
Жыл бұрын
A kind of educator you do not want to miss. Thanks Bro.
@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!!!! ❤️❤️❤️❤️❤️❤️❤️❤️😊😊😊😊😊
@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
@gusiwanaga7380
3 жыл бұрын
+1 to more views! The way you explain is so clean, thanks a ton!
@cdjosh3568
3 жыл бұрын
Another day, another great Java tutorial from Bro Code!
@koolraab
Жыл бұрын
Very well explained! Never understood this concept until now. Thank you!
@professionalaveragekid
Ай бұрын
probably one of the most comprehensive java tutorials, without cutting corners :D
@firepower01
2 жыл бұрын
I spent my entire Sunday trying to figure this out. Thank you.
@nikleduc2148
3 жыл бұрын
Straight up love you man Why is no one else watching your vids
@milanincana6395
5 ай бұрын
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
@jaym4358
2 жыл бұрын
The best -- no BS -- explanation of the static keyword.
@Omsingh-pc5db
Ай бұрын
Honestly man, you are one of the best person to learn coding from. 😊
@nikitos2442
3 жыл бұрын
Even with my bad english I can understand you better, than my Java teacher in Austria.
@TheOctolink
8 ай бұрын
Relatable
@selcandalklc7972
3 ай бұрын
Hey, i also study computer science in Austria. Where do you study
@user-ms9jq9wg1u
Жыл бұрын
I am watching your videos to learn java and it helps a lot. Thank you man!
@spyroszviolin
3 жыл бұрын
You really enjoy learning programming with this Bro!
@angelomaminta9879
3 жыл бұрын
His Playlist deserves more views than this tbh. Thanks A lot man
@mohammadhasan5255
Жыл бұрын
Ditto
@faris.m17
2 жыл бұрын
The static keyword took me a long time to understand, your video really helps.
@ctluwua7695
3 жыл бұрын
MY support will keep this channel running :)
@liberospirito7840
Жыл бұрын
This was such a great help, thank you so much!
@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.
@viperyogesh7634
8 ай бұрын
Thx bro didnt understood thru any websites your explanation is simple and clear
@khiemdo5527
2 жыл бұрын
Great courses so far !!! Thanks so much
@quarduroy1
Жыл бұрын
Great explanation, thank you. Subbed!
@myko_chxn
Жыл бұрын
bro ur channel is literally a gold mine
@juliarigsby1459
9 ай бұрын
Bro, you made this so much simpler than two weeks of my professor’s lessons.
@sujayirrinki4915
7 ай бұрын
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.
@johanrecaman
3 жыл бұрын
thx man, your videos are helping me a lot
@frei6913
2 жыл бұрын
This video made me fall in love with your channel
@jahed1311
2 жыл бұрын
dude youre great even better than my professor :D Thanks
@RoxioCZE
3 жыл бұрын
after 4 years of java i now finally know how static works
@romandevera7871
3 жыл бұрын
Good job explaining that Bro!
@jon_nova
10 ай бұрын
Thanks for the tutorial!
@mithunram5346
2 жыл бұрын
Simple and easily understandable , thanks bro ✌
@nawazkamboo8750
3 жыл бұрын
Thank you bro. You're really clearing my doubts
@mrzetel
2 жыл бұрын
Thanks for the wonderful explanation!
@polimorphic13
Жыл бұрын
Thank you for your fabulous content, bro!
@shagunprasad4592
5 ай бұрын
i couldn't help not commenting lol. thanks for this amazing video bro
@abdelmoneimdwedar2157
Жыл бұрын
BRO ............ goddamn you're wonderful, keep it up much much love 💪💪
@JonasAnders-kn5yb
Жыл бұрын
Thanks, for making this video. It was very helpful!
@hesham4744
2 жыл бұрын
i wanted to like this vid more than one time 💖✨ keep it up buddy'
@kemann3815
2 жыл бұрын
Truly the best! Cheers
@fanBladeOne
3 жыл бұрын
Great explanation, thx!
@romanrubanovich9273
3 жыл бұрын
very good and clear explanation, thank you very much
@omersond4891
3 жыл бұрын
i like your explanations ;)
@mibo747
Жыл бұрын
perfect explanation... many other didnt really clarified
@gentle9964
10 ай бұрын
thank you so much Bro. I saved the entire course
@lamias7712
2 жыл бұрын
explained simplly and clearly!
@heacac3729
4 ай бұрын
man what can i say, finally understand this shit thank you my bro, god bless you😭
@drunkrifle
Жыл бұрын
You are an OG for this
@manojkiran5519
2 жыл бұрын
You're the best......man!!!
@Diamond_Hanz
3 жыл бұрын
Bro is ultimate bro!
@danny.3036
3 жыл бұрын
Thanks, Bro! ☕ You're awesome!
@thomas_1611
Жыл бұрын
Excellent vids. So useful.
@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
Жыл бұрын
A kind of educator you do not want to miss. Thanks Bro.
@rhomiezhomeboy8270
Жыл бұрын
Thank you for wonderful video
@kiki.t2094
2 жыл бұрын
Bro you are the best ))
@technorthman
2 жыл бұрын
I love learning w this bro
@Simis999
Жыл бұрын
Bro has the power to explain
@MendiCaspi
2 жыл бұрын
Very clear and helpful
@PersanAntoine
4 күн бұрын
Great videos bro!!
@Abaddon-u1i
Жыл бұрын
Thank you bro, here's a comment for the algorithm
@MateusFerreira-on3kp
Жыл бұрын
tanks man, you're helping me so much with yours videos.
@FAHGVidz
11 ай бұрын
Ur the best bro
@matt_tails
Жыл бұрын
finally, a simple explanation of static
@user-st5rp2oj6h
Жыл бұрын
Thank you Bro for your effort 👍👍🙏🙏🙏
@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!
@justinbanza4751
2 жыл бұрын
Thanks for the video
@roolee4349
2 жыл бұрын
Great explanation
@nikitamarkovski7121
2 жыл бұрын
broo that's awesome
@danielpaul65
2 жыл бұрын
Very clearly explained
@Mirtguitar
7 ай бұрын
Good tutorial.
@herox6875
8 ай бұрын
Appriciate the knowledge bro
@danishuddin9752
2 жыл бұрын
great explanantion
@ysf9423
Жыл бұрын
very good video thanks
@p4vam910
18 күн бұрын
Good Job Bro 💞
@christophbruns8127
2 жыл бұрын
Großartig!
@yagzhandag3803
3 жыл бұрын
thanks a lot mannn!
@ericamuhammad5920
2 жыл бұрын
Thank you!
@user-yz9cp6fp4k
Жыл бұрын
2022- you are the best teacher
@saricheri4728
Жыл бұрын
Youre the best
@hassanejaber6873
10 ай бұрын
Thank you Bro, by the way which video explains the static classes ?
@avejaymoradillo
9 ай бұрын
thanks for sharing
@ThapeloMachaka256
Жыл бұрын
lifesaver!!
@sigmamathy
3 жыл бұрын
thanks im understand now :)
@TheEvertonDias
Жыл бұрын
Thanks, Bro!
@lmao9619
2 ай бұрын
you are th best \
@pa-305
3 жыл бұрын
Best BROOOOOOO
@majid1885
2 жыл бұрын
Thanks Bro, awesome
@obalalmeida6419
2 жыл бұрын
Bro💥
@augischadiegils.5109
3 жыл бұрын
Nice!!
@azerpashahuseynli444
3 жыл бұрын
very useful video
@Mokataly
2 жыл бұрын
Thanks a lot :)
@minhtetpaing1695
3 жыл бұрын
Thank you so much sir.
@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
2 жыл бұрын
yay!
@Andboldquates
2 жыл бұрын
We need more "Java" videos
@honoredegg
2 жыл бұрын
33th. Thank you, ma Bro Sensei
@jan5504
Жыл бұрын
so its like an arraylist of methods or variables? is static void better than hashmap when it comes to memory?
Пікірлер: 226