The paint() method is a method of the GameCanvas class. It is called in an application to draw the contents of Canvas on the screen. The general syntax of this method is as follows:
Here, g is the instance of the Graphics class.
Pass SCMAD in first attampt. Download free practice test for SUN SCMAD Mobile Application Developer exam.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.