//******************************************************** 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*"); } } //********************************************************
@angieg72573 жыл бұрын
Thanks Mr. Bro Code!
@editIQYT2 жыл бұрын
Ayo helped🎉
@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-cb1ky10 ай бұрын
♥♥
@brettkruskie26993 жыл бұрын
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.
@andycadcam22653 жыл бұрын
I agree. I understand everything with my Pre-Intermediate English.
@Golosovtalks2 жыл бұрын
@@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_vicius2 жыл бұрын
It's definately a breath of fresh air after going through so many Indian tutorials LOL
@KoryRuno Жыл бұрын
Agree with you
@Jayderzomb Жыл бұрын
not like these indians xD, some have great speaking skills, but some...
@cate01a4 жыл бұрын
you're literally better than other teacher! keep it up bro!
@Nikkhil4923 жыл бұрын
he's amazing
@henryjohnson47744 жыл бұрын
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
@xXMaDGaMeR3 жыл бұрын
This is genuinely one of the best content out there. Appreciate it man, very clear and to the point. Amazing !
@MikeTManio-vv9en2 жыл бұрын
Bro, you just literally always save me, you're a better professor than my college professor. Always appreciated the tutorials
@IsiahDoesVlogs9 ай бұрын
This guy is the best, and he literally always posts the code he works on after.
@rogerionakayama25934 жыл бұрын
You're just too good to be true
@BroCodez4 жыл бұрын
thank you for watching Megas!
@themegapkr5164 жыл бұрын
These are by far the most helpful videos I have come across.
@SonKyoken3 ай бұрын
Bro, I can’t even thank you in human words for all the videos you upload, you really saved my life in coding!!!!
@adityarajsrivastava65804 жыл бұрын
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!!!
@tiyanibaloyi84042 жыл бұрын
Ever since I started watching your videos I have learned a lot, you have simplified a lot of concepts.
@ibral36063 жыл бұрын
A real teacher never charges his students. Real knowledge does knot have a price tag! You a living legend Bro!
@dumdum70999 ай бұрын
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.
@MrSlinky3 жыл бұрын
You are a better professor than my professor. You're a life saver bro!
@dylanwardlow94382 жыл бұрын
10 minutes of my life that I'm happy I'll never get back. 10/10 the best
@EmirKaanOgsarim Жыл бұрын
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.
@Shodan1593 жыл бұрын
Infinitely more helpful than my university lectures. Thanks heaps!
@JuliHoffman2 жыл бұрын
Wow! This actually made sense. I appreciate these videos so much!
@yellowhellow-wi9gi2 ай бұрын
your 10 minutes video is equal to my teachers 3 hourse course
@PopeHeavy Жыл бұрын
I like how much more informative and laconic it is than paid courses, keep it up
@Ziggy01203 жыл бұрын
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.
@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
@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.
@davidmurege2 жыл бұрын
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.
@antonioriley32952 жыл бұрын
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.
@4everkind94 ай бұрын
Your coding tutorials are absolute gold! 💻✨ The way you break down complex concepts makes learning so much easier, especially for beginners like me. Please keep the content coming-you're helping a lot of us out here! 🙌🔥 Thanks for making coding accessible and fun!
@mjc71723 жыл бұрын
daaang nobody can change my mind that you're the best at teaching !!
@amirfakhte9156 Жыл бұрын
I really like that you try your best to explain things as easy to understand as possible.thanks it was very helpful
@apexhacker3464 жыл бұрын
WHERE WAS BRO CODE THIS WHOLE SEMESTER! I LOVE YOU MANNNN
@BroCodez4 жыл бұрын
"I love you too random citizen!"
@salmerongomezsebastian78192 жыл бұрын
I have learnt more from you than from my college, keep it up! Awesome sutff, waba laba dub dub!!!
@aliesmail4500 Жыл бұрын
you are a genius teacher. please, don't stop making such helpful videos.
@juliotitosagastegui94536 ай бұрын
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
@lake22252 жыл бұрын
thank god for people like u. you r really come in clutch
@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
@kishanpareek28483 жыл бұрын
You are Awesome! Wishing You Millions of subscribers .
@omersond48914 жыл бұрын
thanks for this great explanation
@shyam.upadhyay3 жыл бұрын
Apart from explaining everything very clearly, Bro got good taste in shows too.
@RtsFps1 Жыл бұрын
Thank you for making those “mistakes” and then explaining why things are done a certain way.
@Jealakllz Жыл бұрын
Really appreciate all these tutorials and videos you do, it’s a great help! Thank you sir 🙏
@m.l.c.m.madhawa46493 жыл бұрын
Bro, Your explanations are easy to understand than my university lectures Thanks, a lot man!
@1nut1679 ай бұрын
HUGE LIGHTBULB MOMENT. U SAVE MY GRADE YET AGAIN
@senayjoh Жыл бұрын
perfect explanation.. really helpful thanks
@ctluwua76953 жыл бұрын
I was really confused making constructors!!!!!! But you really helped me !
@umidjonhamidov235611 ай бұрын
super tutorial 😎😎😎
@jeevanandham17322 жыл бұрын
Excellent work, for the difference between the Constructor and normal object
@harshkulkarni87132 жыл бұрын
big fan from india you are like mentor to me 🤗
@Mangafic_Dino4 жыл бұрын
Thank you so much! Your videos are really helping me, so good! 😃🤩💪🏻
@BroCodez4 жыл бұрын
thanks for watching Dino
@MuhammadZohaib-mr6su5 ай бұрын
Thanks for uploading for this video because am very easily understand constracter and this key word
@asheernaseer42103 жыл бұрын
I'm really love you'r teaching, because you helping me many ways. thank you so much
@ACE-qd3sw Жыл бұрын
Whenever I dont understand a concept this is where I come to tysm broCode
@manishmoger8177 Жыл бұрын
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.😊😊
@hisokadu063 жыл бұрын
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
@chrisgeorgenkuutu8492 Жыл бұрын
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.
@vincentchoo74714 жыл бұрын
You give clear explanation. Great job!
@BroCodez4 жыл бұрын
thank you for watching Vincent!
@behrangfattahi93283 жыл бұрын
I know all this but you are explaining it so good that I watch them all again and again
@ladalll13032 жыл бұрын
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!
@maxwelltv50752 жыл бұрын
exactly what i was thinking about it. I purchased the best seller java course in Udemy, and its nowhere near bro code.
@ramano5222 ай бұрын
the video was very helpful thank you
@ktos21443 жыл бұрын
Thank you so much. Now I know what is constructors, class and methods. My teacher didn't say it that readable like you.
@eachcha76663 жыл бұрын
This is AWESOME! I learn more than other youtubers. Thanks
@jordyramirez6078 Жыл бұрын
Thanks bro!! I understood more in 10 minutes video from you than my teacher in 2 hours meeting xD
@bimarshag67483 ай бұрын
great tutorial and in-depth explanations. keep it up Bro Code!
@pushankarmakar17832 жыл бұрын
best video series on java i've seen yet
@RealChikTVtainment2 жыл бұрын
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!
@IntahX2 жыл бұрын
Easy and Straight to the point!! You're really talented in explaining complex things that's easy to understand. Keep it up!
@miguellarios50343 жыл бұрын
Sir, I was about to quiet coding… you saved me.
@mohamedelfadli31252 жыл бұрын
You make things easy to understand.
@nutkimheng71306 ай бұрын
This video is very useful🥳🤠
@yarnyweb21443 жыл бұрын
That was good. Just the right pace.
@rose4285 Жыл бұрын
GREAT LESSON!!! I definitely now understand this topic
@erolf4532 Жыл бұрын
no bs, pure info. many thanks👍
@lulomega40012 жыл бұрын
You are better than my prof at explaining, thanks a lot man you help a lot in my university studies
@irienirien555 Жыл бұрын
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
@pythonita88932 жыл бұрын
Excellent explanation.
@azerpashahuseynli4443 жыл бұрын
Perfect explanation, better than all other videos
@Tinycode7792 жыл бұрын
Thanks for saving me from watching 1hr long videos on each topic which you explain within 2-10 minutes. You literally great BROCODE SENSEI!.
@_NaveenKhandekar_APRIL2 жыл бұрын
watched manyyy YT videos but by far bro code is the besttt!
@crandallaj3 жыл бұрын
nice ... great video...!!!!
@kagisomosehla46472 жыл бұрын
I was smiling alone, you making coding so interesting😊
@innocentrwakigarama38483 жыл бұрын
Amazing explanations. Keep it up bro
@SodiqjonNomonjonov-y9n Жыл бұрын
i've learned java construction.Thanks for this video.
@andrejsulc31752 жыл бұрын
Thank you for making this video. It helped me a lot, to understand this topic.
@s0db544 Жыл бұрын
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*
@piusgitonga51432 ай бұрын
Great content, easy to understand.
@O1011OАй бұрын
Keep going bro best programming channel fr
@maciejmyslinski78204 жыл бұрын
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?
@BroCodez4 жыл бұрын
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.
@СветланаНикитина-у6е Жыл бұрын
Awesome video! I am smashing the like button
@quanyufeng5792 жыл бұрын
amazing video
@munirahmad89192 жыл бұрын
Great tutorial.
@adrianasilveira45612 жыл бұрын
Great explanation. Thank you
@truongnguyenanhvu55083 жыл бұрын
Keep up good job bro
@archerx91x604 жыл бұрын
Agreed very helpful video
@BroCodez4 жыл бұрын
thanks for watching Archer
@baubaudinamo4 жыл бұрын
keep it up
@woodpecker22303 жыл бұрын
High quality tutorial Bro, keep the good work!
@ligdjumvidja829410 ай бұрын
Explained superbly mate thanks a lot.
@arshiaSESH592 жыл бұрын
Nice explanation
@Mtftq Жыл бұрын
thank you bro, your examples helping a lot
@leonard01042 жыл бұрын
Great one.
@robingloryvideo9064 Жыл бұрын
Great video > Thanks
@Kapus104 ай бұрын
very helpful to pin the code, it's nice for note taking.