No video

Java constructors 👷

  Рет қаралды 175,386

Bro Code

Bro Code

Күн бұрын

Java constructor constructors tutorial explained for beginners
#Java #constructor #constructors

Пікірлер: 346
@BroCodez
@BroCodez 3 жыл бұрын
//******************************************************** public class Main { public static void main(String[] args) { Human human1 = new Human("Rick",65,70); Human human2 = new Human("Morty",16,50); human1.drink(); human2.eat(); } } //******************************************************** public class Human { String name; int age; double weight; Human(String name,int age,double weight){ this.name = name; this.age = age; this.weight = weight; } void eat() { System.out.println(this.name+" is eating"); } void drink() { System.out.println(this.name+" is drinking *burp*"); } } //********************************************************
@angieg7257
@angieg7257 3 жыл бұрын
Thanks Mr. Bro Code!
@editIQYT
@editIQYT Жыл бұрын
Ayo helped🎉
@Tolly633
@Tolly633 Жыл бұрын
Your code is more valuable for me. I understand everything because of u. Your way of teaching is tremendous. Now I love coding. Thank u bro. What's ur name??
@itsme-cb1ky
@itsme-cb1ky 5 ай бұрын
♥♥
@brettkruskie2699
@brettkruskie2699 3 жыл бұрын
I can't tell you how much I appreciate your English. The wording and work are easily readable. By far better than the average tutorial.
@andycadcam2265
@andycadcam2265 2 жыл бұрын
I agree. I understand everything with my Pre-Intermediate English.
@Golosovtalks
@Golosovtalks 2 жыл бұрын
@@andycadcam2265 did you watch this with or without subtitles?) i have also this level of english but i cant make out what he talks about without subtitles) maybe i have a bad sense of listening)
@fer_vicius
@fer_vicius Жыл бұрын
It's definately a breath of fresh air after going through so many Indian tutorials LOL
@user-ej1vw4jp3p
@user-ej1vw4jp3p Жыл бұрын
Agree with you
@Jayderzomb
@Jayderzomb 11 ай бұрын
not like these indians xD, some have great speaking skills, but some...
@cate01a
@cate01a 3 жыл бұрын
you're literally better than other teacher! keep it up bro!
@Nikkhil492
@Nikkhil492 2 жыл бұрын
he's amazing
@henryjohnson4774
@henryjohnson4774 3 жыл бұрын
Mate, I can't thank you enough. you literally (and I mean it), give the best explanations and examples, singlehandedly giving me a CS career
@Wildlife_aesthetic
@Wildlife_aesthetic 13 күн бұрын
"Sit back and relax" hits different 😂❤
@Emir-yo8ek
@Emir-yo8ek Жыл бұрын
Bro besides your one-by-one telling, your clean tongue helped a lot for people who's their first tongue is not English. Thx a lot again.
@xXMaDGaMeR
@xXMaDGaMeR 2 жыл бұрын
This is genuinely one of the best content out there. Appreciate it man, very clear and to the point. Amazing !
@rogerionakayama2593
@rogerionakayama2593 3 жыл бұрын
You're just too good to be true
@BroCodez
@BroCodez 3 жыл бұрын
thank you for watching Megas!
@IsiahDoesVlogs
@IsiahDoesVlogs 4 ай бұрын
This guy is the best, and he literally always posts the code he works on after.
@MikeTManio-vv9en
@MikeTManio-vv9en Жыл бұрын
Bro, you just literally always save me, you're a better professor than my college professor. Always appreciated the tutorials
@MrSlinky
@MrSlinky 2 жыл бұрын
You are a better professor than my professor. You're a life saver bro!
@ibral3606
@ibral3606 2 жыл бұрын
A real teacher never charges his students. Real knowledge does knot have a price tag! You a living legend Bro!
@dumdum7099
@dumdum7099 4 ай бұрын
Yeah bro a real teacher doesn't really need to eat. A real teacher can just eat his real knowledge and keep his real stomach real full.
@adityarajsrivastava6580
@adityarajsrivastava6580 3 жыл бұрын
You taught me more clearly than my teacher or my book could have... Maybe more than what I could have planned by conducting experiments by myself!!!
@themegapkr516
@themegapkr516 3 жыл бұрын
These are by far the most helpful videos I have come across.
@davidmurege
@davidmurege Жыл бұрын
I may not be in a position to donate something to you. But may God bless you for what you are doing for free. I graduated from campus last year with zero knowledge of programming. But to be honest. I will be an hero in a year or so.
@juliotitosagastegui9453
@juliotitosagastegui9453 Ай бұрын
i dont even watch the lectures anymore i go straight to your account, i love your videos they have saved me a lot of time. i love you bro code
@tiyanibaloyi8404
@tiyanibaloyi8404 2 жыл бұрын
Ever since I started watching your videos I have learned a lot, you have simplified a lot of concepts.
@MuhammadZohaib-mr6su
@MuhammadZohaib-mr6su 6 күн бұрын
Thanks for uploading for this video because am very easily understand constracter and this key word
@nycollasmenezes5028
@nycollasmenezes5028 Жыл бұрын
Keep up with the content, bro. You have helped a lot of people new to the programming community. Your videos are great, mainly because you not seem to be in a hurry to end the explanation, you take your time and this e a very positive behavior while teaching. When I get my first payment working with Java, I'll definitely donate to you, to show my gratitude. Thanks a lot from Brazil.
@dylanwardlow9438
@dylanwardlow9438 Жыл бұрын
10 minutes of my life that I'm happy I'll never get back. 10/10 the best
@PopeHeavy
@PopeHeavy 9 ай бұрын
I like how much more informative and laconic it is than paid courses, keep it up
@Ziggy0120
@Ziggy0120 2 жыл бұрын
Best constructor tutorial I think I have seen on youtube. Well done you helped me out mega on a big part of my project im stuck on.
@Shodan159
@Shodan159 3 жыл бұрын
Infinitely more helpful than my university lectures. Thanks heaps!
@JuliHoffman
@JuliHoffman 2 жыл бұрын
Wow! This actually made sense. I appreciate these videos so much!
@hk254lyt8
@hk254lyt8 Жыл бұрын
You don’t need the this keyword again inside the method. You can just write the variable and it’s able to know what variable to assigned to an object from the constructer
@Mangafic_Dino
@Mangafic_Dino 3 жыл бұрын
Thank you so much! Your videos are really helping me, so good! 😃🤩💪🏻
@BroCodez
@BroCodez 3 жыл бұрын
thanks for watching Dino
@RtsFps1
@RtsFps1 7 ай бұрын
Thank you for making those “mistakes” and then explaining why things are done a certain way.
@ktos2144
@ktos2144 2 жыл бұрын
Thank you so much. Now I know what is constructors, class and methods. My teacher didn't say it that readable like you.
@aliesmail4500
@aliesmail4500 Жыл бұрын
you are a genius teacher. please, don't stop making such helpful videos.
@apexhacker346
@apexhacker346 3 жыл бұрын
WHERE WAS BRO CODE THIS WHOLE SEMESTER! I LOVE YOU MANNNN
@BroCodez
@BroCodez 3 жыл бұрын
"I love you too random citizen!"
@amirfakhte9156
@amirfakhte9156 9 ай бұрын
I really like that you try your best to explain things as easy to understand as possible.thanks it was very helpful
@antonioriley3295
@antonioriley3295 Жыл бұрын
Thanks a lot, I've seen a good amount of constructor videos but yours was the only one that made it make sense for me.
@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
@salmerongomezsebastian7819
@salmerongomezsebastian7819 Жыл бұрын
I have learnt more from you than from my college, keep it up! Awesome sutff, waba laba dub dub!!!
@m.l.c.m.madhawa4649
@m.l.c.m.madhawa4649 2 жыл бұрын
Bro, Your explanations are easy to understand than my university lectures Thanks, a lot man!
@vincentchoo7471
@vincentchoo7471 3 жыл бұрын
You give clear explanation. Great job!
@BroCodez
@BroCodez 3 жыл бұрын
thank you for watching Vincent!
@harshkulkarni8713
@harshkulkarni8713 2 жыл бұрын
big fan from india you are like mentor to me 🤗
@shyam.upadhyay
@shyam.upadhyay 2 жыл бұрын
Apart from explaining everything very clearly, Bro got good taste in shows too.
@kishanpareek2848
@kishanpareek2848 2 жыл бұрын
You are Awesome! Wishing You Millions of subscribers .
@maciejmyslinski7820
@maciejmyslinski7820 3 жыл бұрын
Nice explanation. It is not the first time when I meet with OOP, but there is one thing which interest me. In Main class whenever we were creating function/method then at the beginning we are declaring public static void/int and name, but here we are only adding void, so I'm curious what is the difference and why we are not adding public static keywords?
@BroCodez
@BroCodez 3 жыл бұрын
It's not necessary to add public, that's just a habit of mine. I'm creating new videos to that show that you do not need to do that.
@ladalll1303
@ladalll1303 2 жыл бұрын
Great explanation! It is super well structured and clear. I have to watch your videos while taking other Java course because you explain it so well! Thank you again!
@maxwelltv5075
@maxwelltv5075 Жыл бұрын
exactly what i was thinking about it. I purchased the best seller java course in Udemy, and its nowhere near bro code.
@s0db544
@s0db544 9 ай бұрын
I just wanna say that I love you and your page man, a fan of rick and morty and explaining everything so perfectly. thank you *sorry for bad english*
@1nut167
@1nut167 4 ай бұрын
HUGE LIGHTBULB MOMENT. U SAVE MY GRADE YET AGAIN
@chrisgeorgenkuutu8492
@chrisgeorgenkuutu8492 11 ай бұрын
I love your videos, so much educative and easy to understand and follow along...much better than my school teachers...i am happy to have found this channel. and have already recommended it to many people that i know.
@manishmoger8177
@manishmoger8177 11 ай бұрын
hello sir, I have never commented on any youtube videos but your videos are amazing and easy to understand far more better than my university lecturers.😊😊
@mjc7172
@mjc7172 3 жыл бұрын
daaang nobody can change my mind that you're the best at teaching !!
@asheernaseer4210
@asheernaseer4210 2 жыл бұрын
I'm really love you'r teaching, because you helping me many ways. thank you so much
@behrangfattahi9328
@behrangfattahi9328 2 жыл бұрын
I know all this but you are explaining it so good that I watch them all again and again
@lake2225
@lake2225 Жыл бұрын
thank god for people like u. you r really come in clutch
@_NaveenKhandekar_APRIL
@_NaveenKhandekar_APRIL 2 жыл бұрын
watched manyyy YT videos but by far bro code is the besttt!
@Jealakllz
@Jealakllz 9 ай бұрын
Really appreciate all these tutorials and videos you do, it’s a great help! Thank you sir 🙏
@ACE-qd3sw
@ACE-qd3sw 11 ай бұрын
Whenever I dont understand a concept this is where I come to tysm broCode
@user-wb7zv4fr4z
@user-wb7zv4fr4z Жыл бұрын
i've learned java construction.Thanks for this video.
@lulomega4001
@lulomega4001 2 жыл бұрын
You are better than my prof at explaining, thanks a lot man you help a lot in my university studies
@ligdjumvidja8294
@ligdjumvidja8294 5 ай бұрын
Explained superbly mate thanks a lot.
@nutkimheng7130
@nutkimheng7130 Ай бұрын
This video is very useful🥳🤠
@IntahX
@IntahX Жыл бұрын
Easy and Straight to the point!! You're really talented in explaining complex things that's easy to understand. Keep it up!
@jordyramirez6078
@jordyramirez6078 Жыл бұрын
Thanks bro!! I understood more in 10 minutes video from you than my teacher in 2 hours meeting xD
@ctluwua7695
@ctluwua7695 3 жыл бұрын
I was really confused making constructors!!!!!! But you really helped me !
@eachcha7666
@eachcha7666 3 жыл бұрын
This is AWESOME! I learn more than other youtubers. Thanks
@kr_m7md589
@kr_m7md589 10 ай бұрын
you're literally better than my teacher , thx.
@senayjoh
@senayjoh 11 ай бұрын
perfect explanation.. really helpful thanks
@user-ik1qu9wp9x
@user-ik1qu9wp9x Жыл бұрын
Awesome video! I am smashing the like button
@RealChikTVtainment
@RealChikTVtainment Жыл бұрын
Thank you for providing the code in the comments. I was able to print it out and write notes on it. This makes the code more tangible which allows me to see the how, why, and where of the code! Now I can understand this! This helps tremendously!! Keep up the good work Bro!
@eugenezuev7349
@eugenezuev7349 4 ай бұрын
it's a very clear explanation, thanks
@pushankarmakar1783
@pushankarmakar1783 2 жыл бұрын
best video series on java i've seen yet
@mohamedelfadli3125
@mohamedelfadli3125 Жыл бұрын
You make things easy to understand.
@capt_nemo_199
@capt_nemo_199 6 ай бұрын
First of all, I have become a fan of your tutorials. They are damn good. My professors created a fear of java in me. That is slowly going away. Now for the doubt part: is this keyword necessary in constructors? What will happen if we directly use it (apart from the constructor)?
@novalessthanthree
@novalessthanthree 7 ай бұрын
thank you mr. code very helpful
@rose4285
@rose4285 10 ай бұрын
GREAT LESSON!!! I definitely now understand this topic
@hisokadu06
@hisokadu06 3 жыл бұрын
Couldn't remember why we needed the constructor in java all turorial teach you how you creat them and use them but not the why ... thx man rly
@irienirien555
@irienirien555 9 ай бұрын
Sir, if you only know how this video helped me in my dilemma. thank you so much. I was actually, for almost 2 days looking for a solution in my practice programming as I am currently doing an IT schooling, then i stumbled unto your video, and right away i liked your video and subscribed your channel as the least i can do to thank you.... :D
@jeevanandham1732
@jeevanandham1732 Жыл бұрын
Excellent work, for the difference between the Constructor and normal object
@yarnyweb2144
@yarnyweb2144 3 жыл бұрын
That was good. Just the right pace.
@ctluwua7695
@ctluwua7695 3 жыл бұрын
Best teacher in the WORLD( );
@Tinycode779
@Tinycode779 Жыл бұрын
Thanks for saving me from watching 1hr long videos on each topic which you explain within 2-10 minutes. You literally great BROCODE SENSEI!.
@kingcrashplays
@kingcrashplays 3 жыл бұрын
Ayyy @ 6:45 Rick and Morty, nice.
@erolf4532
@erolf4532 Жыл бұрын
no bs, pure info. many thanks👍
@azerpashahuseynli444
@azerpashahuseynli444 3 жыл бұрын
Perfect explanation, better than all other videos
@andrejsulc3175
@andrejsulc3175 2 жыл бұрын
Thank you for making this video. It helped me a lot, to understand this topic.
@Mtftq
@Mtftq 7 ай бұрын
thank you bro, your examples helping a lot
@miguellarios5034
@miguellarios5034 2 жыл бұрын
Sir, I was about to quiet coding… you saved me.
@elionayzuridasilveira4140
@elionayzuridasilveira4140 4 ай бұрын
Pretty understandable. Thank you!
@kagisomosehla4647
@kagisomosehla4647 2 жыл бұрын
I was smiling alone, you making coding so interesting😊
@nteziryayoplacide8128
@nteziryayoplacide8128 2 жыл бұрын
Hy bro keep going you are still the best
@baynoleamarie4117
@baynoleamarie4117 2 жыл бұрын
Thank you sir.. it helps me a lot..
@zari_723
@zari_723 2 жыл бұрын
thank you for another great vid
@JavaKuppiya23
@JavaKuppiya23 2 ай бұрын
much appreciate and lv you Bro ❤‍🔥
@rblahunka
@rblahunka Жыл бұрын
Awesome stuff. Thank you
@gebreluatewodros1425
@gebreluatewodros1425 Жыл бұрын
its really helpfull but if you could show all the codes in one class that would be awsome so that i can tell what the difference and try in on mine going back and forth is a bit hard to ..
@rm07078
@rm07078 4 ай бұрын
So this. is something like self. in python, very good
@rohanjain2008
@rohanjain2008 3 жыл бұрын
Thanks bro for teaching java so fruitfully *RohanJ
@erniewhite7875
@erniewhite7875 Жыл бұрын
One stop shop for programming knowledge
@mondzahn
@mondzahn 2 жыл бұрын
Bro i love your videos
@hesham4744
@hesham4744 2 жыл бұрын
bro you are a legendaire keep it up ✨
@josephjackson7085
@josephjackson7085 8 ай бұрын
jesus christ i wish more schools and guides would use plain english. literally the use of simple words makes everything click. It took me until this video to realize that this whole process is very similar to python function calls with a twist. thank you
@alfredkufa3135
@alfredkufa3135 Жыл бұрын
Thank god for this man
@saranyadaimer
@saranyadaimer Ай бұрын
Very useful video!
@ahmedya2203
@ahmedya2203 2 жыл бұрын
love & peace bro keep rising up mate
@innocentrwakigarama3848
@innocentrwakigarama3848 2 жыл бұрын
Amazing explanations. Keep it up bro
Java variable scope 🌍
5:38
Bro Code
Рет қаралды 58 М.
Java objects (OOP) ☕
10:46
Bro Code
Рет қаралды 167 М.
what will you choose? #tiktok
00:14
Анастасия Тарасова
Рет қаралды 6 МЛН
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,8 МЛН
Java overloaded constructors 🍕
8:02
Bro Code
Рет қаралды 69 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 287 М.
Java generics ❓
22:04
Bro Code
Рет қаралды 106 М.
The Weird History of JavaScript
12:09
Fireship
Рет қаралды 1,2 МЛН
Java dynamic polymorphism ✨
8:52
Bro Code
Рет қаралды 67 М.
Java methods 📞
11:05
Bro Code
Рет қаралды 129 М.
Getters and Setters Java Tutorial #84
14:12
Alex Lee
Рет қаралды 495 М.
Java HashMap 🗺️
13:05
Bro Code
Рет қаралды 81 М.