Java Programming Tutorial – 17 – Constructors

///Java Programming Tutorial – 17 – Constructors

Java Programming Tutorial – 17 – Constructors

FavoriteLoadingAdd to favorites

Website –
GitHub –
Reddit –
Twitter –
Facebook –
LinkedIn –
Instagram –

source

Java468x60
By |2021-01-30T12:07:48+00:00January 30th, 2021|Java Video Tutorials|43 Comments

43 Comments

  1. Yura K January 30, 2021 at 12:07 pm - Reply

    I thought classes' names in java should start with first capital letter

  2. Mad Goratela January 30, 2021 at 12:07 pm - Reply

    4:10 tunaobject 2 not 21

  3. Chrissi January 30, 2021 at 12:07 pm - Reply

    Thaaaanks biaaaaatch. Best explanation gurrrrrlllll (or boiiiiiiiii)

  4. Sumayya Akter January 30, 2021 at 12:07 pm - Reply

    I had to covert his 16 & 17 tutorial into my crush name coz I never had boyfriend.

  5. Ali Wakil Lodi January 30, 2021 at 12:07 pm - Reply

    very helpful, thank u so much. you are the best.

  6. Tom Magnus January 30, 2021 at 12:07 pm - Reply

    what the hell is up with the object names in this vid

  7. Heyy Kenn January 30, 2021 at 12:07 pm - Reply

    that "appropriately named tunaObject2" haahahahaha

  8. Gurmesa Shakme January 30, 2021 at 12:07 pm - Reply

    ur first gf was kelsi monroe ?

  9. 110 010 January 30, 2021 at 12:07 pm - Reply

    Hi kelsey , Hi tunaObject2 .

  10. NBS gamer January 30, 2021 at 12:07 pm - Reply

    Did he just call a girl an object unironically?

  11. Matt Kelly January 30, 2021 at 12:07 pm - Reply

    Thank you this was a huge help for me

  12. TwoToe January 30, 2021 at 12:07 pm - Reply

    2:38 as soon as you create your object such as this

    Points at Kelsey

  13. Taj Larson January 30, 2021 at 12:07 pm - Reply

    I was doing great until the last 2 tutorials. I feel like they could be better explained because it seems like a ton more work than it needs to be. I understand Java is based around oop and classes, but it would be nice to get a better way to see it rather than the info dump early on most classes and tutorials do it. I'm doing the MS edx course and they have a better approach to it, though some of their content is lacking so I'm using this to brush up a bit. I did his C and C++ tutorials and they were so much better explained.

    Overall, I know he's an excellent educator as shown through many of his other tutorials and number of people who praise him. I just kinda wish he'd come back and redone these to make people just jumping in not so lost so quickly.

  14. DropShotTho_t January 30, 2021 at 12:07 pm - Reply

    r/ihavesex

  15. Diksha Vashisth January 30, 2021 at 12:07 pm - Reply

    Pro tip = do understand this video completely because there is a much complex topic waiting for you in lecture number 39😂😂😂

  16. kplwij kpl January 30, 2021 at 12:07 pm - Reply

    I dont think all these you tube-guys( I mean ALL) can really explain what a construct is , at best they confuse you as they themselves are learning the concept. Best bet is to refer some good TEXTS !

  17. Leo Wang January 30, 2021 at 12:07 pm - Reply

    1:16 iT SHOULD be the constructor's name is the same as the class name I think

  18. Jen Weatherwax January 30, 2021 at 12:07 pm - Reply

    TFW you forget everything you learned last semester in college – THIS IS EXACTLY WHAT I NEEDED. Bucky, you're amazing!

  19. codingwithus January 30, 2021 at 12:07 pm - Reply
  20. Sonthaya Deelua January 30, 2021 at 12:07 pm - Reply

    I followed along and wonder why mine was printed in the same line in console. Any advice?

  21. Arjun Gotan January 30, 2021 at 12:07 pm - Reply

    package com.arjun;

    import java.util.Scanner;

    public class Main {

        public static void main(String[] args) {
            // write your code here
            Scanner scanswitch = new Scanner(System.in);
            System.out.println("Enter "1" for addition and "2" for subtraction");
            String abc = scanswitch.nextLine();

            switch (abc) {
                case "1":
                    Scanner scanadd = new Scanner(System.in);
                    System.out.println("Enter first number");
                    double aone = scanadd.nextDouble();
                    System.out.println("Enter second number");
                    double atwo = scanadd.nextDouble();

                    System.out.println("Type "Third" to enter third number or type "End" to calculate");
                    String def = scanadd.nextLine();

                    switch (def) {
                        case "Third":
                            System.out.println("Enter third number");
                            Scanner scanthird = new Scanner(System.in);
                            double athree = scanthird.nextDouble();
                            break;

                        case "End":
                            System.out.println("Sum = " + aone + atwo);

                    }
            }
        }
    }
    Can someone tell me why this program isn't working?
    I haven't written the stuff for subtraction yet.
    (p.s) is know it isn't complete I was just checking if I had done it correctly or not.
    I wrote this in another project but it was showing error even though nothing was underlined with red.
    I just copied it and it worked but it isn't letting me type either third or end.
    It ends too quickly

  22. Rafsan Bhuiyan January 30, 2021 at 12:07 pm - Reply

    if (firstGirlfriend == Null, Second == compileError), System.out.println("Find A Girl Friend to learn Constructor");

  23. MaGiC tRiCk January 30, 2021 at 12:07 pm - Reply

    so setname method is not use in main program and we use the tuna class for input the girlname, so if the setname method is delete, so the output is still same?

  24. John Locke January 30, 2021 at 12:07 pm - Reply

    "Your girlfriend was null"
    No truer words were spoken.

  25. BelowAverageAsian January 30, 2021 at 12:07 pm - Reply

    3:42 I still clearly remember years ago laughing out loud at this moment the library in university, and everyone looked at me like i was a weirdo. Good times… thank you, Bucky

  26. saral basnet January 30, 2021 at 12:07 pm - Reply

    how doi i know that i need to use "public void" or just "public", or only "void", " private. "?

  27. vine January 30, 2021 at 12:07 pm - Reply

    Literally objectfying women

  28. DEL January 30, 2021 at 12:07 pm - Reply

    but did Kelsey eat Nicole's Tuna?? comment below

  29. jas hall January 30, 2021 at 12:07 pm - Reply

    You never explained how to put the string on the next line
    Using that print f method u forgot to mention the back slash and n

    " n"

    in the print F statement that you added after the %s on this video its

    System.out.printf("your name %sn" getName);

  30. maasmans January 30, 2021 at 12:07 pm - Reply

    Starting to get doubts for his skills as a programmer as new info about more girlfriends arise

  31. Gazzola January 30, 2021 at 12:07 pm - Reply

    Class 1 to 14> me: ok, its easy
    Class 15 to 16> me: whatt?

  32. Toby Sullivan January 30, 2021 at 12:07 pm - Reply

    toona

  33. e3rr0r 402 January 30, 2021 at 12:07 pm - Reply

    Schrödinger's Girlfriend

  34. harel bt January 30, 2021 at 12:07 pm - Reply

    Roses are red
    Violets are blue
    Kelsey was your first girlfriend
    And Nicole too

  35. Need Friends January 30, 2021 at 12:07 pm - Reply

    “Nicole, that was the name of my second girlfriend. Appropriately named tunaObject2”

    Fucking savvaggeeeee 😂😂

  36. CyanKnight_Q9 January 30, 2021 at 12:07 pm - Reply

    thats confusing

  37. Saidazim January 30, 2021 at 12:07 pm - Reply

    It's on my recommendations after 10 years…

  38. Mikey Mike January 30, 2021 at 12:07 pm - Reply

    You need to capitalize tuna and apples and anytime you use it aftereward. per naming conventions

  39. Kashif January 30, 2021 at 12:07 pm - Reply

    can anybody tell me what compiler is he using?

  40. Dalandan January 30, 2021 at 12:07 pm - Reply

    Thank you for this ! You helped me more than my prof

  41. 127.0.0 .1 January 30, 2021 at 12:07 pm - Reply

    Why can't my professor teach like this guy!!!

  42. piyush gupta January 30, 2021 at 12:07 pm - Reply

    I get output only as My first girlfriend was . The object doesn't return any value (the name). I am using Java 8 and jre 1.8

  43. Eumi Eumi January 30, 2021 at 12:07 pm - Reply

    yeah i get it u got 2 gf´s …u dont have to rub this in my face =/

Leave A Comment

*