Java Object Cloning | Cloneable Interface | Java Course in Tamil | Logic First Tamil

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

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

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

    this video explains a way better than my college professor

  • @MMkmrwhite
    @MMkmrwhite 28 дней назад

    Super explaination

  • @Joel-gb8cm
    @Joel-gb8cm 3 года назад +4

    Akka please data structure and algorithm poduga..!!! I need your help..!!

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

    Akka spring concept and servlet with jsp concept solli thaanga

  • @kousikraj4597
    @kousikraj4597 3 года назад +3

    at the end of the video, constructor vechi object ah clone panikalam nu soninga...nama en interface and deep copy la pananum.....bcuz when compare to this, copy constructor easy ah iruke..when to use copy constructor and cloneable interface?

    • @LogicFirstTamil
      @LogicFirstTamil  3 года назад +2

      when u have inherited class, u have to do deep copy.

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

      @@LogicFirstTamil thanks

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

    Instead of cloning using copy constructor is the best way yo practice and also reduce runtime and exceptions ...am i right mam?

  • @gokulnath6373
    @gokulnath6373 3 года назад +2

    Mam department class eruku mam athu eppudi student classla department object create pannringa athum without relations mam antha maru ennoru classku object create pannalama mam appdi panna athu name ena mam??confusa eruku mam

    • @LogicFirstTamil
      @LogicFirstTamil  3 года назад +2

      u can create objects anywhere u want if it is visible. not just in main. that is the purpose of creating class. to use objects wen needed.

    • @gokulnath6373
      @gokulnath6373 3 года назад +2

      @@LogicFirstTamil so far i thought objects only create in main method mam👍👍👍👍 thanks mam..

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

    @Logic First Tamil . Mam...How many classes are there to finish OOPS Concept?

    • @LogicFirstTamil
      @LogicFirstTamil  3 года назад +1

      m not very sure. around 10

    • @saakrbsa2603
      @saakrbsa2603 3 года назад +1

      @@LogicFirstTamil TanQ so much Mam... Pls do more videos and upload quickly...🙌🏻

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

    (Department)s.dept.clone(); ah ethukku s.dept la store panringa. Ithuvaraikkum neenga( Department d , Student s) inthamaari classku object create panni thaanae store pannuninga akka . rendukkum enna difference and also
    s.dept.clone(); ithuvaraikkum oru object ah vechi thaanae oru methodah invoke pannuninga but inga rendu objectah vechi clone methodah invoke pannirukinga akka
    Iam very much confused because Iam a mechanical student

    • @LogicFirstTamil
      @LogicFirstTamil  2 года назад +1

      inside student class i need to store department. thats why we have dept object in the class. For your first question, I am showing just another way of storing the object or how to store a copy of another object. clone method has to be invoked for dept object right? dept object is got by s.dept. so only we have s.dept.clone().

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

      @@LogicFirstTamil appo return s.dept nu thaanae kodukanum akka

  • @kishoreashok3783
    @kishoreashok3783 3 года назад +1

    👌👌👌

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

    Where can I get code ?

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

    ❤️

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

    Student class kulla Department dept;ன்னு kodukaama Student class kulla irukka display method kulla dept.display ();ன்னு invoke panna mudiyuma sis

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

      can u invoke a method without the object of the class? these kind of questions, u shud try by yourself and find out wats happening

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

      @@LogicFirstTamil Department dept=new Department (1,"physics "); nu main method kulla object create pannirukom illa akka

    • @LogicFirstTamil
      @LogicFirstTamil  2 года назад +1

      @@mkd5135 appo u can invoke from main only. or u have to pass tat object to the display method of student class and then invoke

    • @LogicFirstTamil
      @LogicFirstTamil  2 года назад +1

      u need to understand more abt scope of variables and objects.

  • @govindarajn7667
    @govindarajn7667 Месяц назад

    Oru mannum puriyala

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

    Konjam kastama iruku mam intha concept