1.

Which of these constructors is used to create an empty String object?(a) String()(b) String(void)(c) String(0)(d) None of the mentionedThe question was posed to me in semester exam.I want to ask this question from String Handling Basics in section String Handling of Java

Answer»

Correct CHOICE is (a) STRING()

To explain I WOULD say: NONE.



Discussion

No Comment Found

Related InterviewSolutions