The nextFrame() method is a method of the Sprite class. It is used to choose the next frame from a sequence of frames. The general syntax of this method is as follows:
It has a void return type.
Download free practice test for SUN SCMAD exam. Best exam simulation SUN CX310-110 download free trial.