Java Tutorial for Beginners - 16 - Constructors

preview_player
Показать описание
In this tutorial I will show you the 2 basic constructor types.

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

This is MY 5th video on what a constructor is and it's the BEST ONE I've watched. Thanks!

scooterphoenix
Автор

Best tutorials on Java. I have completed OOP back in my graduate program in 2009, but couldn't get a hold of it back then. Thanks for your crystal-clear explanation, I am able to understand it easily.
God Bless You and God save America!

ZJSports
Автор

Thank you for having a clear screen that doesn't bounce around the whole time. There are so many terrible programming videos that are impossible to watch, but yours is simple and easy to follow. Thank you for that!

pdxbound
Автор

Thank you sir. This is the one where I call it a night. I'm doing 15 videos a day so I can finish your java course in 4 days and let it all sink in. Best video tutorials I've seen in a long time.

jorgeramos
Автор

You're so good at explaining this and waiting for us to let us think it through and process it in our heads - the only video where I have seen this done for a such difficult concept.

NinaHProductions
Автор

I'm a little bit smarter after watching this. I needed this, thank you!

paninii
Автор

So helpful I was having trouble understanding constructors and this put me right on track. You deserve more subscribers than you have. Thanks!

flyingcow
Автор

My friend Im still on 15th tutorial but i have to congratulate you for explaining so good what you actually showing. I must tell you that i have bough several classes from udemy and treehouse and still i only understand why the hell we do some things on certain way ONLY from your videos. Again Greate Job! Thank you for these great tutorials

funnyrabbitadventures
Автор

now i got it. thank you. it works just like overloaded methods

deoxi
Автор

this is the best explanation of a constructor i have ever seen ... thank you very much Sir

anthonyaa
Автор

Freakin unbelievable. Thank you so much, best video yet that explains methods.

sunstriker
Автор

Very simple explanation, now i got it ! Great Vid.
greetz form Germany

Arthur-huce
Автор

Best tut on the topic so far. thank you!

HeckaS
Автор

Excellent job, clear and expertly explained.... One question though, why the need for the Default Constructor if it's not being used by the main method AdditionProgram ??? What purpose does it have for being created in the first place? The program runs fine with out it...

ciaranmckenna
Автор

This is genuinely helpful. I understood it easily. THANK YOU SO MUCH.😁

Rajat-Sharma
Автор

hey Ej, I did also use multiplication and it

package OtherLesson;

public class Addition {
int firstNumber;
int secondNumber;
int thirdNumber;

public int getnumber(){

return (firstNumber + secondNumber + thirdNumber);
}
public int getMultiplication(){
return (firstNumber * secondNumber * thirdNumber);
}
Addition (){
firstNumber = 10;
secondNumber = 20;
thirdNumber = 1;
}
Addition (int L, int B){
firstNumber = L;
secondNumber = B;
}
Addition (int A, int B, int C){
firstNumber  = A;
secondNumber = B;
thirdNumber =  C;
}

}

HoopsAnime
Автор

Thanks for the video. I understand the principle of the default constructor, but what about the other type of constructor? I'm prepared to watch this video again.

seanfl
Автор

Finally I have found an alternative for newboston

gex
Автор

Hello ! first of all thanks alot for the videos really really helping me understand my lessons and then i wanted to ask what are parameters and how do they work ?

hasinsadat
Автор

Great tutorials man! Helping me alot! Thank you!

Leymr
welcome to shbcf.ru