Java constructors 👷

preview_player
Показать описание
Java constructor constructors tutorial explained for beginners

#Java #constructor #constructors
Рекомендации по теме
Комментарии
Автор


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() {
is eating");
}
void drink() {
is drinking *burp*");
}

}

BroCodez
Автор

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.

brettkruskie
Автор

you're literally better than other teacher! keep it up bro!

catea
Автор

This is genuinely one of the best content out there. Appreciate it man, very clear and to the point. Amazing !

xXMaDGaMeR
Автор

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

henryjohnson
Автор

This guy is the best, and he literally always posts the code he works on after.

IsiahDoesVlogs
Автор

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.

Emir-yoek
Автор

Bro, you just literally always save me, you're a better professor than my college professor. Always appreciated the tutorials

MikeTManio-vven
Автор

Ever since I started watching your videos I have learned a lot, you have simplified a lot of concepts.

tiyanibaloyi
Автор

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!!!

adityarajsrivastava
Автор

You are a better professor than my professor. You're a life saver bro!

MrSlinky
Автор

Wow! This actually made sense. I appreciate these videos so much!

JuliHoffman
Автор

These are by far the most helpful videos I have come across.

themegapkr
Автор

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.

antonioriley
Автор

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.

Ziggy
Автор

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.

nycollasmenezes
Автор

I was really confused making
But you really helped me !

ctluwua
Автор

Really appreciate all these tutorials and videos you do, it’s a great help! Thank you sir 🙏

Jealakllz
Автор

Apart from explaining everything very clearly, Bro got good taste in shows too.

shyam.upadhyay
Автор

thank god for people like u. you r really come in clutch

lake