| Author |
Java Integral Types
|
Roja Rani
Greenhorn
Joined: Sep 28, 2005
Posts: 22
|
|
Hi, Is the following statement True/False? All the Java integral types are signed numbers I expected True but the answer is false. I thought byte, short, int, long are integral types of Java and all these are signed numbers. Anybody please explain how the above statement is False?
|
 |
Junilu Lacar
Bartender
Joined: Feb 26, 2001
Posts: 4118
|
|
|
See the JLS 4.2.1
|
Junilu - [How to Ask Questions] [How to Answer Questions] [MiH]
|
 |
Roja Rani
Greenhorn
Joined: Sep 28, 2005
Posts: 22
|
|
Hi Junilu, I understood that char is also integral type. Thank you for the reply.
|
 |
A Kumar
Ranch Hand
Joined: Jul 04, 2004
Posts: 973
|
|
Hi, Considered char ...??  [ October 04, 2005: Message edited by: A Kumar ]
|
 |
 |
|
|
subject: Java Integral Types
|
|
|