Answer:
F
Step-by-step 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.