Which of the following describes what is wrong with the following sample code?
public class MyActivity extends Activity{
public void onCreate(Bundle myBundle){
foo( );
} }
A.
The method onCreate must be private.
B.
A developer cannot extend Activity.
C.
A call is missing to super.onCreate(mybundle).
D.
The class MyActivity must be private.
Explanation: