answersLogoWhite

0

Because that is how the language is defined. It has floating data types and integral data types.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

What do you mean by vectors only hold objects not primitive data types?

It means that you can only store values like Integer, String etc in a Vector and not values like int, float etc. int, float, double etc are primitive data types. collections by their default behavior can hold only objects and not primitives.


What is a data type that can include only numbers?

A data type that can include only numbers is called a "numeric" data type. This includes integer types (like int) for whole numbers and floating-point types (like float or double) for decimal numbers. Numeric data types are commonly used in programming and databases to perform mathematical operations and store quantitative data.


What are the only types in Java that are not classes?

The non-class Java data types are primitives: * byte * short * int * long * float * double * boolean * char


What are the data types in C language and their meanings?

They are INT , FLOAT , CHAR. int carries integers only & occupies 2bytes of memory space each. float carries fractional numbers only & occupies 4bytes of memory space each.char carries characters only & occupies 1bytes of memory space each.Hope this will help you.


What are various types of data conversion that can not be handled by compiler?

Data conversion which culminate in loss of data will usually lead to the generation of warning messages. Eg: from float to int. These conversions should be explicit. Also conversion between two different objects is only possible if there is a function specifying the conversion method.

Related Questions

Why Titanic ship sink not float?

The titanic did not float because it was only able to float if 4 or less water compartments flooded instead more did and it was to much for the titanic to hold and sadly many people died.


What do you mean by vectors only hold objects not primitive data types?

It means that you can only store values like Integer, String etc in a Vector and not values like int, float etc. int, float, double etc are primitive data types. collections by their default behavior can hold only objects and not primitives.


Where to get the blue orb in Pokemon soul silver?

you cant u can only get it inheartgold instead of the red orb


Where can you find Groleth in Soul silver?

you cant he's only in heart gold vulpix is there instead of growlithe


How do you sell the items that you have bought on imvu?

You cant, you may delete them instead. Only creators can sell products.


Why cant the data be written on Pokemon ranger guardian signs?

Can only have one sign Pokemon out at a time.


What is a data type that can include only numbers?

A data type that can include only numbers is called a "numeric" data type. This includes integer types (like int) for whole numbers and floating-point types (like float or double) for decimal numbers. Numeric data types are commonly used in programming and databases to perform mathematical operations and store quantitative data.


What are the only types in Java that are not classes?

The non-class Java data types are primitives: * byte * short * int * long * float * double * boolean * char


How do you get zombie mode in call of duty for wii?

you cant, because...i dont really know, but there is no information or data with some example of it, so you cant, its only for xbox and ps3 mate, sorry


What are the data types in C language and their meanings?

They are INT , FLOAT , CHAR. int carries integers only & occupies 2bytes of memory space each. float carries fractional numbers only & occupies 4bytes of memory space each.char carries characters only & occupies 1bytes of memory space each.Hope this will help you.


What is the meaning of encrypts?

The meaning of asymmetric encryption is that one key that is unique to a recipient is used only to decrypt data instead of a key being used to encrypt and decrypt that data.


Can a star float on a liquid?

No stars only float with gravoty holding them up