Java Tutorial for Beginners – 16 – Constructors

///Java Tutorial for Beginners – 16 – Constructors

Java Tutorial for Beginners – 16 – Constructors

FavoriteLoadingAdd to favorites

In this tutorial I will show you the 2 basic constructor types.

Java468x60

Please watch all the beginning Java tutorials at:

source

By |2019-09-26T22:46:23+00:00September 26th, 2019|Java Video Tutorials|35 Comments

35 Comments

  1. Rajat Sharma September 26, 2019 at 10:46 pm - Reply

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

  2. pdxbound81 September 26, 2019 at 10:46 pm - Reply

    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!

  3. Solution Audio September 26, 2019 at 10:46 pm - Reply

    Best tut on the topic so far. thank you!

  4. Bhavani A September 26, 2019 at 10:46 pm - Reply

    Finally I have found an alternative for newboston

  5. 7906jun September 26, 2019 at 10:46 pm - Reply

    ahhh constructor I have been struggling to wrap my head around it for past 2 days now. Frustrated…

  6. William Pylyser September 26, 2019 at 10:46 pm - Reply

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

  7. deepcovergecko 1907 September 26, 2019 at 10:46 pm - Reply

    Finally I have found an alternative for newboston

  8. Prasad Hews September 26, 2019 at 10:46 pm - Reply

    thank you sir. i learned it easily.

  9. Unlim ited September 26, 2019 at 10:46 pm - Reply

    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

  10. Sunstriker11 September 26, 2019 at 10:46 pm - Reply

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

  11. Ciaran McKenna September 26, 2019 at 10:46 pm - Reply

    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…

  12. AYBIN. V. K September 26, 2019 at 10:46 pm - Reply

    Thanks

  13. Jorge Ramos September 26, 2019 at 10:46 pm - Reply

    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.

  14. Arthur Zaczek September 26, 2019 at 10:46 pm - Reply

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

  15. ihonestytruthful September 26, 2019 at 10:46 pm - Reply

    Excellent bro thanks!

  16. scooterphoenix September 26, 2019 at 10:46 pm - Reply

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

  17. Ammar Sadeq September 26, 2019 at 10:46 pm - Reply

    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

  18. Leymr September 26, 2019 at 10:46 pm - Reply

    Great tutorials man! Helping me alot! Thank you!

  19. NinaH September 26, 2019 at 10:46 pm - Reply

    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.

  20. Sean Flanagan September 26, 2019 at 10:46 pm - Reply

    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.

  21. Sean Flanagan September 26, 2019 at 10:46 pm - Reply

    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.

  22. Hasin Sadat September 26, 2019 at 10:46 pm - Reply

    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 ?

  23. Grigory Bogush September 26, 2019 at 10:46 pm - Reply

    Can you please tell me what it means to initialize an object? But without too much java terminology.

  24. shimy September 26, 2019 at 10:46 pm - Reply

    slowly getting it now. damn im dumb

  25. Bhargav Guntupalli September 26, 2019 at 10:46 pm - Reply

    +EJ Media ur the best

  26. Meshal Barrak September 26, 2019 at 10:46 pm - Reply

    Well explained.

  27. Adarsh Sidhu September 26, 2019 at 10:46 pm - Reply

    Sir, can you ask the user for values instead of setting the values , that would be a lot helpful thank u..

  28. nomad062 September 26, 2019 at 10:46 pm - Reply

    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.

  29. Anthony Neil September 26, 2019 at 10:46 pm - Reply

    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;
    }

    }

  30. SonnyDeez September 26, 2019 at 10:46 pm - Reply

    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

  31. Brad Piper September 26, 2019 at 10:46 pm - Reply

    These videos are super helpful!

  32. binalfew September 26, 2019 at 10:46 pm - Reply

    what kind of screen casting are you using?

  33. __ September 26, 2019 at 10:46 pm - Reply

    très utile 🙂

  34. rbflowin September 26, 2019 at 10:46 pm - Reply

    Where Bucky failed ,you won!

  35. The Flying Cow56 September 26, 2019 at 10:46 pm - Reply

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

Leave A Comment

*