Computer Applications
What do you understand by primitive data type? Give two examples.
Values & Data Types Java
114 Likes
Answer
Primitive data types are the basic or fundamental data types used to declare a variable. Examples of primitive data types in Java are byte, short, int, long, float, double, char, boolean.
Answered By
69 Likes
Related Questions
Write down the data type of the following:
(a) Integer
(b) Long Integer
(c) A fractional number
(d) A special character
What do you understand by Boolean type data? Explain with an example.
Why is it necessary to define data type in Java programming?
Define the following with an example each:
(a) Implicit type conversion
(b) Explicit type conversion