Frequently asked Java interview Questions for Automation Tester | QA | SDET | Testing | Part 1

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

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

  • @sivamech9140
    @sivamech9140 2 года назад +11

    8:50 this is not create in string pool.. literal string only create in string pool..this is string object. so here 2 object with two memory "Test" will be create

    • @SureshSDETAutomation
      @SureshSDETAutomation  2 года назад +2

      Yes

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

      This answer must be pinned to avoid confusion

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

      need correct answer bro,, 2 0r 3 objects

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

      @@SureshSDETAutomation need correct answer bro,, 2 0r 3 objects

    • @V0ja22
      @V0ja22 6 месяцев назад +1

      @@karthikvalliyappan8916 every time you initialize string using new keyword, you're creating new representation of string in string pool, hence in this example 2 objects with value "Test" will be created. If you are using string literals to create string ie String a = "abc"; , java will check string pool first, and if same string already exist it will just create reference to that string, as strings are immutable and that value will never be changed.
      Hope this helps

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

    Thank you so much sir..

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

    Very very informative

  • @Venkatesh-bj4ge
    @Venkatesh-bj4ge 2 года назад +1

    Very informative. Thank you sir

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

    Hi sir ,Create part 2 and part 3 of this series

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

    thank u sir....

  • @tanayvijay4556
    @tanayvijay4556 5 месяцев назад +1

    why dint you consider OOPS ?

    • @SureshSDETAutomation
      @SureshSDETAutomation  5 месяцев назад

      Thanks for writing, will add a new session with OOPs concepts soon.

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

    Very nice thankyou for this

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

    Sir plz share questions for selenium

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

      Thanks for writing
      Here is questions session
      ruclips.net/video/2UXClRI9S60/видео.html

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

    Thanks anna

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

    Thank you so much Sir..

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

    Thank you so much sir.