Overriding the Object toString Method - Java Inheritance Override Example - APPFICIAL

Поделиться
HTML-код
  • Опубликовано: 1 май 2018
  • toString() is a method that comes from the Object class. It returns a String representation of an object. You typically override this method.
    Subscribe!

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

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

    Please SUBSCRIBE! More programming videos coming soon! ✌️

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

      There is a video missing please check it.
      you did not create a video explaining the previous stuff.
      you did show how to creat a super name and age

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

      @@linuxworld3686 go to the playlist and watch in order

  • @reecord2
    @reecord2 8 месяцев назад +2

    I cannot tell you how useful this video was, thank you.

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

      Thanks glad it helped

  • @Ri_sab55
    @Ri_sab55 2 месяца назад +1

    I found your channel today and been binge watching your java tutorials and OMG such great content, please keep making these

    • @Appficial
      @Appficial  2 месяца назад

      Thank you, I plan on making more soon!

  • @britishbavarian4592
    @britishbavarian4592 10 месяцев назад +1

    Thank you! simplest explanation i've seen so far.

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

    your channel is so underrated

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

    keep going man

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

    Thank you sir.. It helped me a lot.. 😊

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

    Thank you 😊

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

    thx fast and usefull

  • @user-sy1xb4uq3q
    @user-sy1xb4uq3q 4 года назад +3

    useful video ,thank you

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

    Thanks

  • @lameking2839
    @lameking2839 5 лет назад +2

    Thx for the vid

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

    when do you use @Override annotation ?

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

      It's not required, and only really used to warn the compiler that you intend to override this method. And would want the compiler to error if you didn't override correctly. It's also good to have for documentation purposes

  • @free-castle6732
    @free-castle6732 Год назад +1

    there is no @Override?

    • @Appficial
      @Appficial  10 месяцев назад

      Thats optional, but good to include it

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

    way to technical