- 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 (
推薦閱讀
- The Supervised Learning Workshop
- FFmpeg入門詳解:音視頻流媒體播放器原理及應用
- Learn Scala Programming
- 名師講壇:Java微服務架構實戰(SpringBoot+SpringCloud+Docker+RabbitMQ)
- Swift語言實戰精講
- CoffeeScript Application Development Cookbook
- Getting Started with Eclipse Juno
- ArcGIS for Desktop Cookbook
- IoT Projects with Bluetooth Low Energy
- Java 從入門到項目實踐(超值版)
- Photoshop智能手機APP界面設計
- 零基礎學C++(升級版)
- Python機器學習與量化投資
- 官方 Scratch 3.0 編程趣味卡:讓孩子們愛上編程(全彩)
- Node.js Web Development