answersLogoWhite

0

All data types can be used to store a whole number, even the data types that can store a decimal number.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

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

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


What is an abstract datatype?

Abstract data typeA mathematical entity consisting of a set of values (the carrier set) and a collection of operations that manipulate them. For example, the Integer abstract data type consists of a carrier set containing the positive and negative whole numbers and 0, and a collection of operations manipulating these values, such as addition, subtraction, multiplication, equality comparison, and order comparison.AbstractionTo abstract is to ignore some details of a thing in favor of others. Abstraction is important in problem solving because it allows problem solvers to focus on essential details while ignoring the inessential, thus simplifying the problem and bringing to attention those aspects of the problem involved in its solution. Abstract data types are important in computer science because they provide a clear and precise way to specify what data a program must manipulate, and how the program must manipulate its data, without regard to details about how data are represented or how operations are implemented. Once an abstract data type is understood and documented, it serves as a specification that programmers can use to guide their choice of data representation and operation implementation, and as a standard for ensuring program correctness.Above retrieved from Answers.comViper1


What is called representation of data structure in memory?

"Abstract Data Type"


What is a linked list used for?

A linked list is used in computer science to store data as a series of related nodes. Linked lists are used as the basis for abstract data types when programming. The chief advantage of a linked list is that data can be added or removed from the list without having to reorganize the whole list. A drawback to linked lists can be that it is difficult to sort, organize, or recall specific information from the list.


What is the benefit of float data type?

Floating type numbers can't be stored in integer type variables. If we do that then their fractional part will be lost. So, we use float data type to store numbers with fractional parts.

Related Questions

What are the data types would be used to store a whole number?

bit, int, numeric(8,0) depends on which database you are using


What are the key differences between floating point and integer data types?

The key difference between floating point and integer data types is how they store and represent numbers. Integer data types store whole numbers without any decimal points, while floating point data types store numbers with decimal points. Integer data types have a fixed range of values they can represent, while floating point data types can represent a wider range of values with varying levels of precision. Floating point data types are typically used for calculations that require decimal precision, while integer data types are used for whole number calculations.


What data or variable type is used for whole numbers?

int


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

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


How do discrete and continuous data relate to quantitative data?

discrete data can only be whole numbers whereas continuous can be fractions decimals don't necessary have to be counting numbers as we know them. 1,2,3...


Data type can store a variable amount of text or combination of text and numbers?

memo


What is a data type that can store variable amount of text or combination of text and numbers?

Memo


What is an abstract datatype?

Abstract data typeA mathematical entity consisting of a set of values (the carrier set) and a collection of operations that manipulate them. For example, the Integer abstract data type consists of a carrier set containing the positive and negative whole numbers and 0, and a collection of operations manipulating these values, such as addition, subtraction, multiplication, equality comparison, and order comparison.AbstractionTo abstract is to ignore some details of a thing in favor of others. Abstraction is important in problem solving because it allows problem solvers to focus on essential details while ignoring the inessential, thus simplifying the problem and bringing to attention those aspects of the problem involved in its solution. Abstract data types are important in computer science because they provide a clear and precise way to specify what data a program must manipulate, and how the program must manipulate its data, without regard to details about how data are represented or how operations are implemented. Once an abstract data type is understood and documented, it serves as a specification that programmers can use to guide their choice of data representation and operation implementation, and as a standard for ensuring program correctness.Above retrieved from Answers.comViper1


How do abstract data from medical records?

To abstract data from the medical records, simply go to the medical files in question to retrieve the information.


Is the spread sheet software store the mathematical data?

Yes, a spreadsheet can store mathematical data. It is used for numerical analysis and manipulation, so it works extensively with numbers and doing caluclations with them and analysis of them.


What is called representation of data structure in memory?

"Abstract Data Type"


What is a linked list used for?

A linked list is used in computer science to store data as a series of related nodes. Linked lists are used as the basis for abstract data types when programming. The chief advantage of a linked list is that data can be added or removed from the list without having to reorganize the whole list. A drawback to linked lists can be that it is difficult to sort, organize, or recall specific information from the list.