11.1 Object Cloning in Java Theory

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 68

  • @akshaykumar-qj2kx
    @akshaykumar-qj2kx 3 года назад +7

    this guy deserves best teaching skills award. His teaching style is unique..

  • @joycesilvera8214
    @joycesilvera8214 3 года назад +24

    It's been so many years learning from you, I still prefer your video over any other. Thank you for your efforts!

  • @jollesracing517
    @jollesracing517 2 года назад +2

    I always know if I need to learn something about a Java concept Telusko is the one whos got me covered

  • @34521ful
    @34521ful 5 лет назад +17

    It just seems like clone is an easier way to achieve a deep copy...

  • @mohanshankar5323
    @mohanshankar5323 8 лет назад +1

    THE WAY OF TEACHING IS AWESOME SIR...

  • @clarence9527
    @clarence9527 Год назад +2

    This video has an incorrect understanding of shallow copy、deep copy、and the Object method clone().

  • @beautibharti8053
    @beautibharti8053 8 лет назад +4

    sir your teaching style is awesome..

    • @godzabomni4148
      @godzabomni4148 4 года назад

      A Sir iyour a tijing setail is absomebe" indian

  • @AnilThakur-lx6ps
    @AnilThakur-lx6ps 4 года назад

    Nice sir i always confused about object cloning but you clear me from this video thanks

  • @mohammadtajuddin7115
    @mohammadtajuddin7115 4 года назад

    Your videos are simply fantabulous....I just loved your explanation ✌️✌️🧠🧠

  • @aboudiaw6321
    @aboudiaw6321 4 года назад

    your explanation is so clear. Thank you Sir. Keep the good job

  • @stephaniepanah1387
    @stephaniepanah1387 Год назад +1

    thank you. very good.

  • @zeusdavid4104
    @zeusdavid4104 2 года назад

    Thank you bro, very good video. Now I understand everything behind it

  • @saahithvamsani9135
    @saahithvamsani9135 8 лет назад

    Nice Work Bro! Chaala baaga cheptunnaru .

  • @kanhagoel1990
    @kanhagoel1990 4 года назад

    Loved ur teaching sir

  • @willingtushar
    @willingtushar 7 лет назад +10

    3:55 sir it's not A.obj1 = obj.clone();
    but it should be A obj1 = obj.clone(); means why we put dot

  • @HarshRaj-fp6pv
    @HarshRaj-fp6pv 4 года назад +1

    Your concept hits bullsEye everytime! Thankyou Sir^_^

  • @jithinmv6516
    @jithinmv6516 4 года назад

    You are a life saver sir❤️

  • @swathik5692
    @swathik5692 4 года назад

    Thanks for your explanation sir.i understood perfectly

  • @yogeshkumar-un8qv
    @yogeshkumar-un8qv 2 года назад

    is video ko dekhke toh m or bhi confiuse ho gaya cloning ko leke

  • @sihemmansour5303
    @sihemmansour5303 2 года назад

    thanks lot for this tutoriel. good job 👍👍

  • @ShermukhammadKarimov
    @ShermukhammadKarimov 7 месяцев назад

    thanks for. the clear explanation

  • @ne0fuze620
    @ne0fuze620 2 года назад

    Very clear, thanks.

  • @lionciomorcilla4743
    @lionciomorcilla4743 6 лет назад

    thankyou very much sir!!! your video is very usefull... i'd learn alot

  • @mitalibarde631
    @mitalibarde631 8 лет назад +1

    Awesome teaching style..! Sir Can you post video on array copy method in java.

  • @galnadjar
    @galnadjar 5 месяцев назад

    great explanation thx

  • @dhanupreethi6887
    @dhanupreethi6887 5 лет назад

    Thank you very much for all your videos. Following your videos:)

  • @mohammedviso2269
    @mohammedviso2269 7 лет назад

    Great explanation......Thanks

  • @pradeepgc1985
    @pradeepgc1985 7 лет назад

    NIce teaching and easily understandable .Could you please post upcasting and down casting scenaios.

  • @erarman1991
    @erarman1991 7 лет назад

    thats perfect presentation

  • @praneethchakri26
    @praneethchakri26 3 месяца назад

    should we use the clone method for shallow copy
    A obj1 = obj.clone();
    instead of
    A obj1 = obj;

  • @zillboy
    @zillboy 6 лет назад

    well explained! 👌 Thanks

  • @vaibhavgupta6u
    @vaibhavgupta6u 7 лет назад +4

    hi naveen ,what is the need of creating new object when already we have, means what are the practical scenario in which we need another object through shallow or deep or cloning ,please describe from practical project point of view book example i know.

    • @erarman1991
      @erarman1991 7 лет назад

      have any video group to discuss java only ?

  • @arvindsingh32
    @arvindsingh32 5 лет назад +3

    Can you explain why clone method is protected in object class ?

    • @Rahulsingh-nd4qk
      @Rahulsingh-nd4qk 4 года назад +2

      It is protected To prevent the clonability of non cloneable objects..
      What is non cloneable objects?
      A class object which Dosent implement Cloneable interface is called non cloneable object.
      If it is public then we can create clone for every object. But in java we don't need every object to be cloned..
      If Object.clone() method is public then in sub class you can only define clone() with public modifier only..

  • @DanSimiao
    @DanSimiao 8 месяцев назад

    A little comtribuition, objcts are storeged in heap memory not stack, ;)

  • @ManishSingh-wo4ty
    @ManishSingh-wo4ty 8 лет назад +2

    obj1,i=obj.i; Typos

  • @yolomein415
    @yolomein415 5 лет назад +1

    I have an ArraList if objects, how can i make it so the cloned arraylist doesent affect the original one?

  • @srinivasaraoyp3640
    @srinivasaraoyp3640 5 лет назад

    very interesting sir,

  • @vikramsinghnegi1559
    @vikramsinghnegi1559 7 лет назад

    nice video,
    sir can you make video on difference between copy constructor & clone in java ??

  • @f5057
    @f5057 6 лет назад +1

    Thank you!!

  • @Canal_do_Kirby
    @Canal_do_Kirby 5 лет назад

    Very clear ^^

  • @lionciomorcilla4743
    @lionciomorcilla4743 6 лет назад

    thankyou very much sir!!!

  • @sunilmehra2210
    @sunilmehra2210 7 лет назад +1

    But why do we need copying?

  • @TheClockmister
    @TheClockmister Год назад

    Debugging for 2 hours why my backtracking didn't work. Didn't know that clone() only created 1 clone, then after it just creates references to that same clone...

  • @amanpattnaik1649
    @amanpattnaik1649 6 лет назад +1

    Sir can you create a code for this program in Java the question is wap to input a string from the user and find how many words are starting with a vowel ending with a vowel and starting and ending with a vowel

  • @mohammedviso2269
    @mohammedviso2269 8 лет назад

    Thanks

  • @obiwantschernobyl5650
    @obiwantschernobyl5650 6 лет назад

    If cloning is nothing else than creating objects and passing values to them, then where lies the performance benefit ?

  • @Sushil2874
    @Sushil2874 8 лет назад

    very well sir

  • @shreyashachoudhary480
    @shreyashachoudhary480 3 года назад

    As always ❤️

  • @hemaladani4510
    @hemaladani4510 3 года назад

    Which clone method?

  • @downloaderhdvideomohamed747
    @downloaderhdvideomohamed747 5 лет назад

    Good

  • @erarman1991
    @erarman1991 7 лет назад

    have any video group to discuss java only ?

  • @VVV-xf5vl
    @VVV-xf5vl 2 года назад

    CFBR

  • @karanjavkarahul
    @karanjavkarahul 6 лет назад

    Can you please provide subsiquent session url.
    Thanks

  • @ΑντρέαςΣωτηρίου-π8γ

    crazy teacher

    • @erarman1991
      @erarman1991 7 лет назад

      have any video group to discuss java only ?

  • @ArunraajSingh
    @ArunraajSingh 7 лет назад

    why copy?

  • @ΑντρέαςΣωτηρίου-π8γ

    god bless

  • @venkatasivapalakolanu845
    @venkatasivapalakolanu845 7 лет назад

    meeku meere saati......

  • @AmitAswar
    @AmitAswar 6 лет назад

    Dont undertand

  • @tarunchandam2320
    @tarunchandam2320 6 лет назад

    sir pls explain the difference between object and instance i was very confused that in someone says both r same but to me it looks a little different