Difference Between Reference Variable And Object | Java Tips And Tricks

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ต.ค. 2024
  • You will see how reference variables and objects are created in memory.
    reference variable takes memory from stack, and objects resides in heap.
    Watch the video for more insight.
    #javaprogramming #javatutorial #javatutorialforbeginners
    ______________________________
    About AsappJobs:
    AsappJobs is building an education content marketplace platform called letsgrow.tech. Monetise your knowledge & doubts!
    For more details please visit:
    website: letsgrow.tech
    linkedIn page : / asappjobs
    facebook page : / asappjobs
    twitter page : / asappjobs
    ___________________
    Visit to our playlist for more interesting videos:
    Data Structures & Algorithms Complete Course 2020 🔥 (Designed To Crack Interviews):
    • Data Structures & Algo...
    System Design By Industry Experts:
    • System Design By Indus...
    System Design Mini Series By Experts:
    • System Design Mini Ser...
    How To Crack Graph Interview:
    • How To Crack Graph Int...
    System Design Interview Preparation:
    • System Design Intervie...
    Hands On With Microsoft Azure:
    • Hands On With Microsof...
    Cloud Computing:
    • Cloud Computing
    Interview With Selected Candidate:
    • Interview With Selecte...
    Interview Tips And Questions By Selected Candidate:
    • Interview Tips And Que...
    Java Interview Questions & Answers:
    • Java Interview Questio...
    Java Fundamentals And Internal Mechanism:
    • Java Fundamentals And ...
    Data Structure And Algorithms Interview Questions And Answers:
    • Data Structure And Alg...
    Data Structure And Algorithms Interview Q&A (Quick Prep):
    • Data Structure And Alg...
    Interview Puzzles:
    • Interview Puzzles
    Interview Preparation Complete Guidelines:
    • Interview Preparation ...
    Data Structure and Algorithms Full Course:
    • Data Structure and Alg...
    ----------------------------
    contact details:
    Email ID: rajeev@asappjobs.com
    -----------------------------
    Please like, comment and share this video to your network
    and don't forgot to subscribe and hit the bell icon ;)
    Thanks,
    AsappJobs Team

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

  • @keshavyawale958
    @keshavyawale958 ปีที่แล้ว

    thanks a lot sir .....for clearing doubt

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

    you are a lkegend. solved a huge confusion of mine.

  • @KD-xi9wu
    @KD-xi9wu 3 ปีที่แล้ว +2

    Cleared my all doubts thanks sir.

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

    Thanks a lot! I always had a confusion on this. So simple and basic still I have missed it all along. Thank you❤️

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

      You're so welcome!

  • @nitansh.9128
    @nitansh.9128 2 ปีที่แล้ว

    That was proper explanation....👍

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

    thanks for your video

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

      always welcome :)

  • @Sunilkumar-sb2rk
    @Sunilkumar-sb2rk 2 ปีที่แล้ว

    Great vdo..

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

    Thank you sir,you made the concept clear for me

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

      Glad to hear that

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

    Nicely explained. Thank you so much.

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

    Clear visual representation

    • @AsappJobs
      @AsappJobs  5 ปีที่แล้ว

      Thanks Vishnu ... Please let us know if you have any feedback?

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

    Thank you so much😊❤

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

    Thanks u sir👌

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

      Most welcome

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

    Thank you ☺️

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

      You’re welcome 😊

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

    Great! Thank you so much for making it very clear.

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

      Glad it was helpful!

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

    nicely explained

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

      Thank you 😃

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

    Thanks a good explanation

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

      Glad you liked it

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

    Thanks.

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

      You're welcome

  • @eyadsara7995
    @eyadsara7995 ปีที่แล้ว

    thank you so much

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

    Good one. Accurate

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

    Thanks sir

  • @roopammondal5934
    @roopammondal5934 ปีที่แล้ว

    Thank you bhai

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

    thank you

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

      You're welcome

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

    Nice one brother❤️

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

      Thanks ✌️

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

    Nice video. Please begin your class names in capital letters: i.e class Test ... This way your subscribers learn good programming practice.

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

      Will keep that in mind :) Thanks for the feedback 👍

  • @rohanpawar1603
    @rohanpawar1603 ปีที่แล้ว

    Sometimes reference variable is point to different class object please explain that.
    ClassA X= new ClassB();

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

    Tq sir .

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

      most welcome :)

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

    What about in c++ !

  • @asmaiman579
    @asmaiman579 ปีที่แล้ว

    smooooootrh!

  • @SHIVAPRASAD-wj6tg
    @SHIVAPRASAD-wj6tg 4 ปีที่แล้ว +1

    U have written" t is reference of type Test" Here reference means reference variable or anything else

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

      Hi Shiva ... it's reference variable of type Test class!

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

    not bad kid

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

    is Reference variable = object reference variable?

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

    How many byte memory takes reference variable in stack ?

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

      size of integer