Which of the following statements creates a new instance of MediaPlayer and assigns it to mpTrombone?

A. MediaPlayer.new(mpTrombone);
B. mpTrombone = MediaPlayer.create();
C. MediaPlayer.create(mpTrombone);
D. mpTrombone = new MediaPlayer();


Answer: D

Computer Science & Information Technology

You might also like to view...

People skills are a valuable asset in any IT field

Indicate whether the statement is true or false

Computer Science & Information Technology

A chart is specific to a graph that displays a relationship between two sets of numbers plotted as data points with coordinates on a grid

Indicate whether the statement is true or false

Computer Science & Information Technology

There are ________ types of cell alignment in Excel

A) seven B) nine C) six D) four

Computer Science & Information Technology

____________________ means that one element in the GUI is lined up horizontally or vertically with another element in the window.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology