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
@SureshSDETAutomation2 жыл бұрын
Yes
@Forty3Stories Жыл бұрын
This answer must be pinned to avoid confusion
@karthikvalliyappan89168 ай бұрын
need correct answer bro,, 2 0r 3 objects
@karthikvalliyappan89168 ай бұрын
@@SureshSDETAutomation need correct answer bro,, 2 0r 3 objects
@V0ja225 ай бұрын
@@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
@tanayvijay45564 ай бұрын
why dint you consider OOPS ?
@SureshSDETAutomation4 ай бұрын
Thanks for writing, will add a new session with OOPs concepts soon.
@komaldalavi30782 жыл бұрын
Very very informative
@soumyaranjanmohapatra79339 ай бұрын
Thank you so much sir..
@SureshSDETAutomation9 ай бұрын
Thanks for writing
@sandeeprapolusandeeprapolu2 жыл бұрын
Hi sir ,Create part 2 and part 3 of this series
@SureshSDETAutomation2 жыл бұрын
Sure Thanks for writing
@Venkatesh-bj4ge2 жыл бұрын
Very informative. Thank you sir
@SureshSDETAutomation2 жыл бұрын
Thanks for writing
@komaldalavi30782 жыл бұрын
Sir plz share questions for selenium
@SureshSDETAutomation2 жыл бұрын
Thanks for writing Here is questions session kzbin.info/www/bejne/aIa7dJ-Ifp6GbJI