Understanding "==" on String Objects
Hi all, in this article, we will see why the above code executes?
String object can be created in 2 ways:
Using String Literal
Using new keyword
When we create a string using double quotes, it is called a string literal.
Eg : String s1 = "Hello";
...
riteshpanigrahi.hashnode.dev2 min read