Object Immutability ? Java Interview Question

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

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

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

    too good explanation

  • @SurajSingh-el9bv
    @SurajSingh-el9bv Год назад

    First Comment , You are doing great Job Brother , May God bless you always

  • @rajanishkumarprajapati7686
    @rajanishkumarprajapati7686 Год назад +4

    Jab bhi without new keyword use kiye bina string ka object create hota hai to wo string pool me uniquely create hota hai Jo JVM handle krta hai, garbage collector ka usme koi role nhi hota.

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

    @durgesh we can use a builder design pattern it provides immutable feature

  • @gauravmatta8783
    @gauravmatta8783 6 месяцев назад

    We need to deep copy in constructor as well for Collection Framework Objects.

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

    Well explained ❤❤❤❤❤

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

    Hi Durgesh. I just wanted to request you one thing. I have been a regular viewer and subscriber of LCWD. Mera ek request hain ki kya aap ek video Bana sakte hain AWS services ke liye as a a developer. I have seen lot of videos with respect to aws but it was more of a devops kind of tutorials.. like there were many things which was not much useful for us and main thing like bean stalk i couldn't see. Hence agar app ek aws cloud ka tutorial banyenge for a simple angular spring boot project aur basic services needed of aws which is needed for a full stack developer it would be great. Thank you so much.

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

    application.proporties jo hota spring boot mai vo kaise works hota question pucha tha muje can u explains

  • @ZakirBhai-y2d
    @ZakirBhai-y2d Год назад

    can i anyone tell how to add images in Spring Security, Thymeleaf project

  • @UmeshMane-k7d
    @UmeshMane-k7d 11 месяцев назад

    Hi Sir,
    Marker interface ke bare me 1 details video upload karo. Ye blank hai to isako Java me kaise use karate hai? ye work kaise karata hai. Interview me mostly puchate hai.

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

    I have set a countdown timer on show html page real time count down. Which will last only 1 minute. And it will start again after every minute. I have to do this work in java with the help of spring boot and thymeleaf.
    I have done this work javascript.but JavaScript is showing different times on every browser. Show me the same time different browser same count timer

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

    Amazing! thanks for sharing, sir...

  • @HimanshuSingh-ii5ki
    @HimanshuSingh-ii5ki Год назад

    Durgesh sir Aapke videos ko mai daily bs aise hi dekhta hu . Like tech update or blog/vlog reading/watching please upload good concept videos. Ha ek baat aur 25 minute se kam ke videos naa post karen . Utana toh mai kisi website se bhi dekh lunga

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

    What is Deep copy?

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

    Spring boot new project ❤ required

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

    Waiting for a project..🫡😊

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

    Sir, Please make videos series on Angular for RUclips. 🙏🏻🙏🏻

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

    Sir pls shere you intellij plugins

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

    Bhai Microservices ka part 2 kab aayega

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

    Good afternoon

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

    u can do this.hashcode() to print the hashcode of the obj.

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

    bhai tera rate of speech bahot high hai

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

    🇮🇳🙏

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

    Immutable aur singleton me kya difference hai?

    • @DreamDropsTV
      @DreamDropsTV Год назад +3

      Singleton means only 1 instance and can have multiple references. Immutable means you can't mutate a state of an object. That is no setters in class , but you can create multiple immutable instances unlike Singleton.

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

      Perfect!!