English

What are primitive values?

Advertisements

Question

What are primitive values?

Short Answer
Advertisements

Solution

Primitive values are the basic data values in Java that represent simple types of information. They are stored directly in variables and are not objects. Java supports eight primitive data types: byte, short, int, long, float, double, char and boolean. These are used to store numbers, characters and logical values.

shaalaa.com
  Is there an error in this question or solution?
Chapter 3: Programming in Java (Review of Class XI Sections B and C) - EXERCISE [Page 98]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 3 Programming in Java (Review of Class XI Sections B and C)
EXERCISE | Q 13. | Page 98
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×