Static Final String Java

Static Final String Java: A string can be declared both static and final. The advantages of declaring string with the both access specifiers are narrated hereunder. The advantages are inclusive of both the affects of final and static. 1. A string declared final cannot be reassigned. The string works as a constant. 2. A string …

Static Final String Java Read More »