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 (-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



     
    ASPTreeView.com
     
    Evaluation has ЦУјЅexpired.
    Info...