A Admin • 833K Points Coach Q. What is the correct way to create a new empty String object in Java? (A) String emptyString = ""; (B) String emptyString = new String(); (C) String emptyString = " "; (D) Both A and B Correct Answer - Option(D) Views: 24 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.