Ask Question

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

+5
Answers (1)
  1. 9 September, 18:13
    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?
Find an answer to your question 👍 “T F Java has eight primitive data types. String is one of them. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers