A Admin • 37.39K Points Coach Bookmark Embed Report View In MB-Short 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: 107 Filed under category JAVA Share
Discusssion
Login to discuss.