Omar,
Got a doubt now. What is the difference between the below 2 code snippets:
both of them declares a single dimentional String array. but in the first declaration, we are assigning the new String object to the String ref "RandomName", whereas in the second decl we are not creating a new String object.
Please clarify.Thanks