DEVFYI - Developer Resource - FYI

Is String a primitive data type in Java?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

550. Is String a primitive data type in Java?

No String is not a primitive data type in Java, even though it is one of the most extensively used object. Strings in Java are instances of String class defined in java.lang package.

(Continued on next question...)

Other Interview Questions