Review Questions


graphics/rq_icon.gif
2.4

Which of the following do not denote a primitive data value in Java?

Select the two correct answers.

  1. "t"

  2. 'k'

  3. 50.5F

  4. "hello"

  5. false

2.5

Which of the following primitive data types are not integer types?

Select the three correct answers.

  1. Type boolean

  2. Type byte

  3. Type float

  4. Type short

  5. Type double

2.6

Which integral type in Java has the exact range from - 2147483648 (-2 31 ) to 2147483647 (2 31 -1) , inclusive?

Select the one correct answer.

  1. Type byte

  2. Type short

  3. Type int

  4. Type long

  5. Type char



A Programmer[ap]s Guide to Java Certification
A Programmer[ap]s Guide to Java Certification
ISBN: 201596148
EAN: N/A
Year: 2003
Pages: 284

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net