- Java Data Analysis
- John R. Hubbard
- 131字
- 2021-07-02 18:21:43
Data types
Data is categorized into types. A data type identifies not only the form of the data but also what kind of operations can be performed upon it. For example, arithmetic operations can be performed on numerical data, but not on text data.
A data type can also determine how much computer storage space an item requires. For example, a decimal value like 3.14 would normally be stored in a 32-bit (four bytes) slot, while a web address such as https://google.com might occupy 160 bits.
Here is a categorization of the main data types that we will be working with in this book. The corresponding Java types are shown in parentheses:
- Numeric types
- Integer (
int
) - Decimal (
double
)
- Integer (
- Text type
- String (
String
)
- String (
- Object types
- Date (
java.util.Date
) - File (
java.io.File)
- General object (
Object
)
- Date (
推薦閱讀
- 數據科學實戰手冊(R+Python)
- Java高并發核心編程(卷2):多線程、鎖、JMM、JUC、高并發設計模式
- PaaS程序設計
- Practical DevOps
- 用戶體驗增長:數字化·智能化·綠色化
- Java程序設計
- Java面向對象程序設計
- Buildbox 2.x Game Development
- 創意UI:Photoshop玩轉APP設計
- 從零開始:C語言快速入門教程
- INSTANT JQuery Flot Visual Data Analysis
- C/C++代碼調試的藝術(第2版)
- Getting Started with Web Components
- 軟硬件綜合系統軟件需求建模及可靠性綜合試驗、分析、評價技術
- Serverless工程實踐:從入門到進階