Which of the following methods compile? (Choose all that apply)
A, C, D.
A and C are correct because a void method is allowed to have a return statement as long as it doesn't return a value.
B and G do not compile because null requires a reference object as the return type.
Option D is correct because it returns an int value.
Option E does not compile because it tries to return a double when the return type is int.
Option F does not compile because no value is actually returned.