Thursday, 6 September 2012

Which of the following statements is true? | Java Springs

A.     The default char data type is a space( ‘ ‘ ) character.
B.     The default integer data type is ‘int’ and real data type is ‘float’
C.     The default integer data type is ‘long’ and real data type is ‘float’
D.     The default integer data type is ‘int’ and real data type is ‘double’

Ans: D

No comments: