How substring method works internally ? | popular java interview questions | java.lang.string

Опубликовано: 04 Октябрь 2024
на канале: Selenium Express
30,178
633

In this video, we will cover How substring method works internally and along with that, we will have a code comparison of java 6 and java 7 (8) to find out what changes are made to substring method in the latest version of java.

In java6 substring method has memory leak issue and which is fixed in java 7 with a new string class constructor.

"How substring method works” is one of the most important questions for java interview. As there is some modification done in the substring method in java 7 it makes it popular for the below category.

java 2 years experienced interview questions
java 3 years experience interview questions

note: substring() has two different versions and this method available on java.lang.String package.

get the basic idea with java substring method with the below video :
   • substring() in java || does substring...  

Stay tuned and like my Facebook page for more.

  / seleniumexpress  


Music :
-----------
credits : -
1)
Adventures by A Himitsu   / a-himitsu  
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox    • A Himitsu - Adventures [Royalty Free ...  
Music provided by Audio Library    • Adventures – A Himitsu (No Copyright ...  

-----

intro template :
   / alexbau01