1. Home
  2. Docs
  3. Object Oriented Programmi...
  4. Fundamental Programming S...
  5. Data Types in JAVA

Data Types in JAVA

In Java, data types specify the kind of value a variable can hold.

  • Java is a strongly typed language, meaning each variable must be declared with a data type before use.

Java data types are broadly classified into:

  • Primitive Data Types
  • Non-Primitive (Reference/Object) Data Types

These are the most basic data types built into the Java language.

image 15

These are objects or references to objects.

image 16

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *