Kursus Hari ke-dua

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class UjiKanvas extends MIDlet{
public UjiKanvas(){

}

public void startApp(){
}
public void pauseApp(){}
public void destroyApp(boolean b){}
}
class CobaCanvas extends Canvas{
public CobaCanvas(){}
public void paint(Graphics g){}
}