Which code acquires a MediaPlayer class instance?
A. MediaPlayer.create(this, R.raw.music);
B. newMediaPlayer(this, R.raw.music);
C. MediaPlayer.getSource(this, R.raw.music);
D. MediaPlayer.newInstancefthis, R.raw.music),
Answer:A
Which code acquires a MediaPlayer class instance?
A. MediaPlayer.create(this, R.raw.music); B. newMediaPlayer(this, R.raw.music); C. MediaPlayer.getSource(this, R.raw.music); D. MediaPlayer.newInstancefthis, R.raw.music),
Explanation: QUESTION NO: 20