Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Why can not a button object be created as Button bt = "abc"
Manish Singh
Dec 14 2011 11:53 AM
1.5k
Reply
Hi.......
Ques:
I have 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? please explain...
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Production Release or Reference Implementation
Can't do with jdbc but do with hibernet