Hi.....................
Ques: I am create a String object as below ...........
String str = "abc"; & String str = new String("abc"); Why can not a button object be created as : Button bt = "abc"? Why is it compulsory to create a button object as: Button bt = new Button("abc"); Why this is not compulsory in String's case?
I am create a String object as below
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Dec 7, 2011, 7:08 AM EST