Most Missed Midterm Question

Which of the following results in a == 0 being true?

  1. int a = 3 / 4;
  2. int a = (int) (3.0 / 4.0);
  3. double a = 3 / 4;
  4. All of these answers

More information: Lesson 2.1.4 and Lesson 2.1.5