MCQOPTIONS
Saved Bookmarks
| 1. |
Which is a valid declarations of a String? |
| A. | String s1 = null; |
| B. | String s2 = 'null'; |
| C. | String s3 = (String) 'abc'; |
| D. | String s4 = (String) ' ufeed'; |
| Answer» B. String s2 = 'null'; | |