2014 Latest Oracle 1Z0-869 Exam Demo Free Download!

How would a MIDlet that uses a GameCanvas efficiently update only a small region of the screen, from the data in the off-screen buffer?
A.    call flushGraphics(int, int, int, int) that specifies the region to be flushed
B.    call serviceRepaints() and set a clip region on the Graphics object in paint()
C.    Pixels that are NOT to be flushed should be made transparent.
D.    write extra code to coalesce the flushGraphics() calls over many loops into one call

Answer: A

» Read more