Question: Given this checkbox, how can you determine whether a user has selected or cleared the checkbox?

  1. by checking the value of `$('#same-address').val()`
  2. by checking the value of `$('#same-address').prop('checked')`
  3. by checking the value of `$('#same-address').attr('checked')`
  4. by checking the value of `$('#same-address').checked`

Answer: The correct answer of the above question is Option B:by checking the value of `$('#same-address').prop('checked')`