You call an object's method by using the dot (.) operator followed by the method. For example, the following code creates a new Sound object and calls its setVolume() method.
.
setVolume()
mySound = new Sound(this); mySound.setVolume(50);