O'Reilly logo

Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition by Rolf W. Rasmussen, Khalid A. Mughal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Review Questions

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 (-231) to 2147483647 (231-1), inclusive?

Select the one correct answer.

  1. Type byte

  2. Type short

  3. Type int

  4. Type long

  5. Type char

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required