Advertisements
Advertisements
Question
How many categories of data types are available in C++?
Options
5
4
3
2
Solution
3
APPEARS IN
RELATED QUESTIONS
Which of the following data types is not a fundamental type?
Which of the following operator returns the size of the data type?
Why is char often treated as an integer data type?
Mention the different types of data that you deal with while browsing the Internet.
Categorize the following data as structured, semi-structured, and unstructured:
Newspaper
Categorize the following data as structured, semi-structured, and unstructured:
Cricket Match Score
Categorize the following data as structured, semi-structured, and unstructured:
HTML Page
Categorize the following data as structured, semi-structured, and unstructured:
Patient records in a hospital
The number of bits occupied by the value 'a' is ______.
Primitive data types are built in data types which are a part of the wrapper classes. These wrapper classes are encapsulated in the java.lang package. Non primitive datatypes like Scanner class are a part of the utility package for which an object needs to be created.
- To which package the Character and Boolean classes belong?
- Write the statement to access the Scanner class in the program.