Java Fundamentals: Types, Control Flow, and Classes

Casual Mode - Take your time!

1 / 10
Correct
0
Incorrect
0
Score
0%
Multiple Choice

HashMap is thread-safe whereas Hashtable is not10, Which of the following assignment statements is invalid?

  1. double D = 45456.444;
  2. long L = 45784;
  3. int I = L;
  4. int J = (int) D;
Change Mode