Java Reference Variable Explained - What is a Reference Variable?

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ค. 2024
  • Java Reference Explained - In this tutorial, we talked about the reference variable in Java.
    Support The Channel By Spreading the word sharing the link
    SUBSCRIBE FOR MORE HERE:
    / javabeginnerstutorial
    -------------------------------------------------------------------------------­-
    JBT TWITTER:
    / beginnersjava
    JBT FACEBOOK:
    / javabeginnerstutorial
    JBT WEBSITE:
    javabeginnerstutorial.com/

ความคิดเห็น • 16

  • @boultifnidhal2600
    @boultifnidhal2600 3 ปีที่แล้ว +3

    "Head first java" best book ever for learning java, highly recommand it

    • @saadafm
      @saadafm 2 ปีที่แล้ว

      Bruh that's wild, I use this video while I learn Java atm

  • @TrickerBaby
    @TrickerBaby 4 ปีที่แล้ว +4

    Thank you veryyyy much ! You solved a big confusion !

  • @BKSOpi
    @BKSOpi 8 หลายเดือนก่อน

    THIS VIDEO IS GEM

  • @azeddinehamdaoui8631
    @azeddinehamdaoui8631 6 ปีที่แล้ว +3

    good explanation 👏

  • @pavankalyanpanga1056
    @pavankalyanpanga1056 6 ปีที่แล้ว +1

    Good...
    Keep going

  • @zerodegree874
    @zerodegree874 6 ปีที่แล้ว

    Great

  • @obeasthead
    @obeasthead 3 ปีที่แล้ว

    Thank you

  • @mayyuhan8691
    @mayyuhan8691 4 ปีที่แล้ว +4

    So a reference variable is just the variable name of a class object? And an object reference variable is the same as a reference variable but just a bit more specific by just placing the word "object" before it?
    For example "Robot Chii = new Robot();"

    • @bufdud4
      @bufdud4 3 ปีที่แล้ว +1

      Yeah same question. Do you know the answer?

    • @mayyuhan8691
      @mayyuhan8691 3 ปีที่แล้ว +3

      @@bufdud4 Yup, the question I asked is literally what it meant.
      A reference variable is a variable that references to something.
      An object reference variable is also a reference variable, but specifically talking, a referencing to an object.
      So chii is the reference variable
      new Robot is the class it references to
      Since new robot is a class, chii is an object of that class making it an object reference variable.
      Hope it makes sense.

  • @rafexinate
    @rafexinate 2 ปีที่แล้ว +2

    this whole video is just duplicated animated version of head first java book's chapter 3. Shame on you.

  • @barkeeper7887
    @barkeeper7887 4 ปีที่แล้ว +5

    i like how shes trying to hide her accent by speaking slow lol

    • @atikshsingh1598
      @atikshsingh1598 4 ปีที่แล้ว

      hahahaha accent funny ahaha accent funny

    • @DWEthiopia
      @DWEthiopia 4 ปีที่แล้ว +4

      @@atikshsingh1598 Looks like someone is butthurt over the revelation of a potential insecurity...........

    • @steveaustin6608
      @steveaustin6608 4 ปีที่แล้ว

      😂😂