Download Chapter 2 Primitive Data Type and Operations

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Number Literals
Number literal เป็ นค่ำคงที่ที่กำหนดให้โปรแกรมโดยตรง
ตัวอย่ำง เช่น 34, 1,000,000 และ 5.0
ตัวอย่ำง เช่น
int i = 34;
long x = 1000000;
double d = 5.0;
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All
rights reserved. 0-13-222158-6
10
Related documents