OCJA(1Z0 - 808)|| Creation of Our Own Immutable Class

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

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

  • @akashchoudhary681
    @akashchoudhary681 Год назад +8

    Best Teacher on this Planet.

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

    As usual...flawless explanation!!!

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

    Implementing Our Own Immutable Class - 09:00-10:10

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

    10:40 great

  • @srikanthe6430
    @srikanthe6430 4 года назад +4

    How can we achieve immutable if the class contains Map

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

      Hello Srikanth.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

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

    God of Java

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

    why int i is not declared as final? can anyone suggest

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

      Hello Friend.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @tmahesh3607
    @tmahesh3607 4 года назад +3

    what you wrote on board test() is zero argumented but while creating test object u passed argument in the code i.e
    test t1= new test(10);
    but in while the run in computer you wrote test(int i);
    kindly check before writing on board whether code on computer and code on board are both same or not
    thank you

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

      Hello Mahesh.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

    • @vishalgaikwad873
      @vishalgaikwad873 4 года назад +5

      MAN IS A STATUE OF MISTAKE, ANY ONE CAN DO THE MISTAKE,
      here sir done one mistake,
      who know basic of java can understand this problem..
      While learning the codding its most important thing is to understand the problem/situation
      it doesn't means You teaching sir .......

  • @saravanasiva6476
    @saravanasiva6476 4 года назад +2

    Sir new object created but you says return new test(100) but you dont say how the object name is assigned

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 года назад +1

      Hello Saravana.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

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

      As per the return type only we return the value
      like
      if method return type is void--that method not return any thing.
      int--return any integer value//OR// this.i;
      String- return string value// OR// this.s;
      Test/-- return that class object ;;
      2 way we return the object
      1:: Test t= new Test()
      return t;
      or
      2:: return new Test();

  • @Islamicnoor-09
    @Islamicnoor-09 3 года назад +4

    see this video in high speed

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

    sir showing error ...can't run...🤐

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

      Hello Jishan.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @santoshkumarkar39
    @santoshkumarkar39 4 года назад +2

    This is nothing but saying how to use String class method in our class...

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

      Hello Santosh.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

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

    This is very low level example. Suppose there is one Test2 contained in Test class then how it will be immutable. Cloning concept is not explained.

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

      Hello Shikhar.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28