Ask Question
5 June, 04:56

T F Java has eight primitive data types. String is one of them.

+2
Answers (1)
  1. 5 June, 05:33
    0
    F

    Explanation:

    A data type is said to be primitive if it contains simple values of a particular type.

    Java has eight primitive data types:

    boolean, byte, char, short, int, long, float, double

    As we can see, String is not a primitive data type. Rather, String is an object of type java. lang. String (); It contains methods such as length (), charAt (), toUpperCase () etc. None of the primitive types have methods associated with them.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “T F Java has eight primitive data types. String is one of them. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers