English

What are Integral Data Types in Java? Name them.

Advertisements

Question

What are Integral Data Types in Java? Name them.

Very Short Answer
Advertisements

Solution

Integral Data Types in Java are primitive data types used to store whole numbers without decimal points. They can represent positive and negative integer values.

The four integral data types in Java are:

  1. byte
  2. short
  3. int
  4. long
shaalaa.com
  Is there an error in this question or solution?
Chapter 5: Primitive Values, Wrapper Classes, Types and Casting - EXERCISE [Page 112]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 5 Primitive Values, Wrapper Classes, Types and Casting
EXERCISE | Q 12. | Page 112
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×