Ask Question
3 August, 11:57

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

+4
Answers (1)
  1. 3 August, 15:12
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers