I want to know that what's the difference in memory allocation if i use
String s = new String("This is a string");
System.out.println(s);
editText.setText(s);
and
System.out.println("This is a string");
editText.setText("This is a string");
Is there any kind of differnce in both the steps..??