Advertisements
Advertisements
Question
It is not a primitive data type:
Options
int
String
double
float
MCQ
Advertisements
Solution
String
Explanation:
- String is not a primitive data type; it is a non-primitive/reference data type used to store a sequence of characters.
- int, double, and float are primitive data types used to store numeric values.
shaalaa.com
Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 43]
