1.

Which of these methods is used to know whether a given Character object is part of Java’s Identifiers?(a) isIdentifier()(b) isJavaIdentifier()(c) isJavaIdentifierPart()(d) none of the mentionedI had been asked this question during an internship interview.My question is based upon Java.lang topic in portion Exploring java.lang & java.io of Java

Answer»

The CORRECT CHOICE is (C) isJavaIdentifierPart()

For EXPLANATION: NONE.



Discussion

No Comment Found

Related InterviewSolutions