Object Immutability ? Java Interview Question

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

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

  • @rajanishkumarprajapati7686
    @rajanishkumarprajapati7686 10 месяцев назад +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.

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

    too good explanation

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

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

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

    Well explained ❤❤❤❤❤

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

    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.

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

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

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

    Spring boot new project ❤ required

  • @SurajSingh-el9bv
    @SurajSingh-el9bv 10 месяцев назад

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

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

    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.

  • @HimanshuSingh-ii5ki
    @HimanshuSingh-ii5ki 10 месяцев назад

    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

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

    Waiting for a project..🫡😊

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

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

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

    Amazing! thanks for sharing, sir...

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

    Good afternoon

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

    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

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

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

  • @ZakirBhai-y2d
    @ZakirBhai-y2d 10 месяцев назад

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

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

    What is Deep copy?

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

    Bhai Microservices ka part 2 kab aayega

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

    Sir pls shere you intellij plugins

  • @akshaysharmaBSG
    @akshaysharmaBSG 9 месяцев назад

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

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

    bhai tera rate of speech bahot high hai

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

    Immutable aur singleton me kya difference hai?

    • @DreamDropsTV
      @DreamDropsTV 10 месяцев назад +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 10 месяцев назад

      Perfect!!

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

    🇮🇳🙏