Тёмный

Java Tutorial for Beginners - 16 - Constructors 

EJ Media
Подписаться 170 тыс.
Просмотров 45 тыс.
50% 1

Опубликовано:

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@scooterphoenix
@scooterphoenix 7 лет назад
This is MY 5th video on what a constructor is and it's the BEST ONE I've watched. Thanks!
@ZJSports007
@ZJSports007 4 года назад
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!
@pdxbound81
@pdxbound81 5 лет назад
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!
@jorgeramos637
@jorgeramos637 7 лет назад
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.
@NinaHProductions1
@NinaHProductions1 8 лет назад
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.
@paninii99
@paninii99 6 лет назад
I'm a little bit smarter after watching this. I needed this, thank you!
@flyingcow56
@flyingcow56 10 лет назад
So helpful I was having trouble understanding constructors and this put me right on track. You deserve more subscribers than you have. Thanks!
@funnyrabbitadventures
@funnyrabbitadventures 7 лет назад
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
@HoopsAnime
@HoopsAnime 9 лет назад
hey Ej, I did also use multiplication and it works..... 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; } }
@Arthur-hu3ce
@Arthur-hu3ce 7 лет назад
Very simple explanation , now i got it ! Great Vid. greetz form Germany
@anthonyaa86
@anthonyaa86 10 лет назад
this is the best explanation of a constructor i have ever seen ... thank you very much Sir
@EJMedia1
@EJMedia1 10 лет назад
thank you glad it helped
@Rajat-Sharma1
@Rajat-Sharma1 5 лет назад
This is genuinely helpful. I understood it easily. THANK YOU SO MUCH.😁
@sunstriker1113
@sunstriker1113 7 лет назад
Freakin unbelievable. Thank you so much, best video yet that explains methods.
@deoxi
@deoxi 4 года назад
now i got it. thank you. it works just like overloaded methods
@gex8327
@gex8327 6 лет назад
Finally I have found an alternative for newboston
@HeckaS
@HeckaS 5 лет назад
Best tut on the topic so far. thank you!
@ciaranmckenna5034
@ciaranmckenna5034 7 лет назад
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...
@Brad-cb2dt
@Brad-cb2dt 9 лет назад
These videos are super helpful!
@seanfl33
@seanfl33 8 лет назад
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.
@Leymr
@Leymr 8 лет назад
Great tutorials man! Helping me alot! Thank you!
@hasinsadat5535
@hasinsadat5535 8 лет назад
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 ?
@nomad062
@nomad062 9 лет назад
I don't see anyone else have the difficulty so perhaps I'm a doof. Where did we write the code for planets? As far as I can tell from the playlist I've done all the videos in order. The only superclass we created so far was Candy. And thank you much for the videos I'm really finding this enjoyable.
@FV-rl5lv
@FV-rl5lv 6 лет назад
see video 13 - Introduction to Objects
@adarshsidhu83
@adarshsidhu83 9 лет назад
Sir, can you ask the user for values instead of setting the values , that would be a lot helpful thank u..
@soneram1m
@soneram1m 9 лет назад
how do you make it input instead of putting in the default numbers? like instead of having it 250,000 how can you make it so that you are inputting the numbers from the keyboard
@taufiqrahman2363
@taufiqrahman2363 9 лет назад
+yungginga using the scanner function built in java :)
@rbflowin_TV
@rbflowin_TV 10 лет назад
Where Bucky failed ,you won!
@EJMedia1
@EJMedia1 10 лет назад
he has a better sense of humor though
@nubeslayya35
@nubeslayya35 9 лет назад
+EJ Media Bucky has a terrible programming style his code has very poor readability. It gives everyone watching his videos bad habits.
@EJMedia1
@EJMedia1 9 лет назад
+nubeslayya I don't think many of these guys are actually in the industry. I have been in the industry since 1995. That's why its really hard for me to get more videos out since I have very little time.
@rbflowin_TV
@rbflowin_TV 9 лет назад
+nubeslayya The biggest mistake he made, were his viewership considerably dropped , was in a video were he simply assumed that people know how to pass arguments. if I'm not wrong it was the 16 or 17th video.That said all thanks to bucky for getting me started.
@ammarsadeq6078
@ammarsadeq6078 8 лет назад
just curious, when u say to check out ur other videos, does this mean that u know that some people may feel bored with java and not continue with it
@hewsme
@hewsme 6 лет назад
thank you sir. i learned it easily.
@instaminox
@instaminox 7 лет назад
Excellent bro thanks!
@AlfnnanVip
@AlfnnanVip 8 лет назад
Well explained.
@datsnek
@datsnek 8 лет назад
Can you please tell me what it means to initialize an object? But without too much java terminology.
@EJMedia1
@EJMedia1 8 лет назад
heres a good explanation: www.javaworld.com/article/2076614/core-java/object-initialization-in-java.html
@datsnek
@datsnek 8 лет назад
EJ Media Thanks! I think I got the basic grasp of what that is. Forums are swirling with java jargon that has one thing named in 3 or 4 different words.
@EJMedia1
@EJMedia1 8 лет назад
Ya it can be frustrating dealing with all of the jargon
@Getaneh188
@Getaneh188 9 лет назад
what kind of screen casting are you using?
@EJMedia1
@EJMedia1 9 лет назад
Ben Freedom Microsoft video editor and also Camtasia
@saumitrabhardwaj2944
@saumitrabhardwaj2944 10 лет назад
très utile :)
@bhargavguntupalli7647
@bhargavguntupalli7647 8 лет назад
+EJ Media ur the best
@aybin.v.k9562
@aybin.v.k9562 7 лет назад
Thanks
@seanfl33
@seanfl33 8 лет назад
A constructive suggestion. If defining multiple variables of the same type, wouldn't it make more sense to declare them all on the same line? For example, instead of: ``` int firstNumber; int secondNumber; ``` how about: ``` int firstNumber, secondNumber ``` If you think about it, this would surely save time and reduce unnecessary coding. The less work you make for yourself, the easier it'll be.
@EJMedia1
@EJMedia1 8 лет назад
There is no really wrong or right way .. it's what you prefer
@batuamparh
@batuamparh 8 лет назад
slowly getting it now. damn im dumb
@7906jun
@7906jun 6 лет назад
ahhh constructor I have been struggling to wrap my head around it for past 2 days now. Frustrated...
@deepin2urheart
@deepin2urheart 5 месяцев назад
@1:55 why you write public int..
@bhavania9265
@bhavania9265 5 лет назад
Finally I have found an alternative for newboston
Далее
Java constructors 👷
10:37
Просмотров 189 тыс.
Java Tutorial for Beginners - 31 - Getters and Setters
12:01
Java methods 📞
11:05
Просмотров 142 тыс.
Java Tutorial for Beginners
2:30:48
Просмотров 11 млн