How to create an Immutable Class in Java from Scratch?

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

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

  • @rohithrhegde6597
    @rohithrhegde6597 6 месяцев назад +3

    6:01 line number 13,14 you just assigned a local variable with new values how will it change the object variable values?

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

    I already knew about Immutable Classes in Java only with Immutable attributes, didn't knew with mutable classes.. Really great video.. Please continue with your Java Concepts Playlist ❤❤

  • @rohitsharma-xt8qe
    @rohitsharma-xt8qe 3 месяца назад

    clear and concise Thanks mate 👍

  • @KiranKumar-222
    @KiranKumar-222 2 месяца назад

    Very good and understandable explanation

  • @mistique0vin
    @mistique0vin 11 месяцев назад +1

    Please cover the core Java concepts useful for beginners! I would love to see more tutorial based videos.. I liked your style of teaching!

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

    super riddhi dutta. very very important interview question

  • @RohitSingh-ku4hb
    @RohitSingh-ku4hb 13 дней назад

    If you are already performing deep copy of mutable object in constructor , then in getter do we need to return a new instance for mutable object ?

  • @tejbirsingh23
    @tejbirsingh23 11 месяцев назад

    amazing sir please make more videos on these topics.

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

    The explanation is accurate, but it looks like you're modifying a local variable instead of directly changing the actual object value. Those lines might not be necessary. Thanks for the insight!

  • @zyx7955
    @zyx7955 11 месяцев назад

    Just saw roadmap video... Q: Can I directly start learning Java?Coz already learnt python in college first sem ? What problems will i face if i start java directly ? Pls ans🙏

  • @akshanshsharma4316
    @akshanshsharma4316 11 месяцев назад

    Sir should I learn springboot or go for mern stack as a fresher, please reply

  • @pratosh
    @pratosh 11 месяцев назад

    Lovely bro!

  • @tushar5359
    @tushar5359 11 месяцев назад

    Gr8 👌

  • @sd3524
    @sd3524 11 месяцев назад

    Bhai Google front end developer interview process pe ek video banao pls

  • @aakashaakash7084
    @aakashaakash7084 11 месяцев назад

    Y immutable class what if we need to change it for future purpose

    • @rite2riddhi
      @rite2riddhi  11 месяцев назад

      That I think I covered in this video or the string video

  • @ShivWankhade101
    @ShivWankhade101 11 месяцев назад

    Bro Shradha didi or inka hasband Hr video me Python sikhne valo ko demotivate krte hai, python ko kisi bhi video me o consider bhi nhi krte 😢

  • @MohitSharma-l5e
    @MohitSharma-l5e 10 месяцев назад

    ipad milega servicenow women coding challlenge se , usme kaise participate karu?