answersLogoWhite

0

Eight basic data types used in java?

User Avatar

Anonymous

14y ago
Updated: 8/17/2019

char, boolean, byte, short, int, long, double, or float

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Variables as object in java?

There are two main categories of variables in Java. They are primitive and non primitive. Primitive data types are the basic data types like int, float, char etc. These are not objects. The other non primitive data types are all types of Java Objects. Example: String, ArrayList etc.


What are the nine basic data types?

Byte Short Int Long Float Double Char Bool String


How many types are there in java?

The two basic data types in Java are primitives and objects. Primitives: byte, char, short, int, long, float, double, boolean Objects: Everything else.


Is built-in data-type are abstract data-types in java?

All built-in data types are not abstract data types.


Java variable types and controls?

Java is a powerful language that gives us options to have data in different forms. We have several data types that we can use for our needs. The basic data types that java offers us are termed as Primitive Data Types. Though all programming languages have varied data types java offers us with a variety of data types that are much powerful and simplified to use when compared to other languages.The Java programming language is strongly-typed, which means that all variables must first be declared before they can be used. This involves stating the variable's type and name.int age = 10;The above statement tells the java compiler that a field named "age" which holds numeric data and having an initial value of 10 is declared. A variable's data type determines the values it may contain, plus the operations that may be performed on it. In addition to int, the Java programming language supports seven other primitive data types. A primitive type is predefined by the language and is named by a reserved keyword. Primitive values do not share state with other primitive values. The eight primitive data types supported by the Java programming language are:byte, short, int, long, float, double, char and boolean


What are the Different types of data type?

Java Data TypesJava is a powerful language that gives us options to have data in different forms. We have several data types that we can use for our needs. The basic data types that java offers us are termed as Primitive Data Types. Though all programming languages have varied data types java offers us with a variety of data types that are much powerful and simplified to use when compared to other languages.The Java programming language is strongly-typed, which means that all variables must first be declared before they can be used. This involves stating the variable's type and name.int age = 10;The above statement tells the java compiler that a field named "age" which holds numeric data and having an initial value of 10 is declared. A variable's data type determines the values it may contain, plus the operations that may be performed on it. In addition to int, the Java programming language supports seven other primitive data types. A primitive type is predefined by the language and is named by a reserved keyword. Primitive values do not share state with other primitive values. The eight primitive data types supported by the Java programming language are: byte, short, int, float, double, long, char and boolean


What are the 8 basic data types used in java?

You should find the answer you're looking for here http://softpixel.com/~cwright/programming/datatypes.java.php


Does java supports unsigned data types?

No, in Java, only signed numbers are defined.


What is the hierarchy of the java program?

define the data types


Why java called as strong type language?

That means that Java is fairly strict about data types.


How many simple data types are there?

There are a total of 8 simple or primitive data types in Java. They are:byteshortintfloatdoublebooleanlong andString


Why java does not use sizeof operator?

Sizeof() is not needed because Java basic types sizes are fixed