Java static keyword ⚡

preview_player
Показать описание
Java static keyword modifier tutorial explained

#Java #static #keyword #modifier #tutorial #explained
Рекомендации по теме
Комментарии
Автор


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");


}
}

public class Friend {


String name;

static int numberOfFriends;

Friend(String name){
this.name=name;
numberOfFriends++;
}

BroCodez
Автор

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.

blueturtlekhun
Автор

A kind of educator you do not want to miss. Thanks Bro.

siddigahmed
Автор

Even with my bad english I can understand you better, than my Java teacher in Austria.

nikitos
Автор

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.

naychilinnlatt
Автор

His Playlist deserves more views than this tbh. Thanks A lot man

angelomaminta
Автор

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!!!! ❤️❤️❤️❤️❤️❤️❤️❤️😊😊😊😊😊

syedmuhammedabbasrizvi
Автор

Another day, another great Java tutorial from Bro Code!

cdjosh
Автор

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

pavelkvasnicka
Автор

I spent my entire Sunday trying to figure this out. Thank you.

firepower
Автор

probably one of the most comprehensive java tutorials, without cutting corners :D

professionalaveragekid
Автор

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

milanincana
Автор

+1 to more views! The way you explain is so clean, thanks a ton!

gusiwanaga
Автор

Honestly man, you are one of the best person to learn coding from. 😊

Omsingh-pcdb
Автор

Straight up love you man

Why is no one else watching your vids

nikleduc
Автор

Very well explained! Never understood this concept until now. Thank you!

koolraab
Автор

The best -- no BS -- explanation of the static keyword.

jaym
Автор

MY support will keep this channel running :)

ctluwua
Автор

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.

vimann
Автор

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!

femioluwaleye