In the method given below, which code line sets the class "MainGamePanel" as the handler of the events happening on the actual surface?
1. public class MainGamePanel extends SurfaceView implements
2. SurfaceHolder.Callback {
3. public MainGamePanel(Context context) {
4. super(context);
5. getHolder().addCallback(this);
6. setFocusable(true);
7. }
Correct Answer:
5
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Android Game Development MCQ Questions