Skip to main content

Posts

Showing posts with the label Updated test answers of Upwork J2ME Test

Upwork J2ME Test Answers

1. Which of the following are not supported by the CLDC 1.1 VM?   Answers:  • Float calculations  2. Which of the following is not addressed by MIDP?   Answers:  • All of the above are addressed  3. Which of the following are Java ME profiles?   Answers:  • MIDP  4. What will happen on attempting to compile and run the following code?  public class ERMidlet extends MIDlet implements CommandListener, Runnable  {  private Display mDisplay;  private Form myForm;  private Command exitCommand;  private StringItem myString;  ERMidlet()  {  myForm = new Form("Expert Rating Exam");  exitCommand = new Command("Exit",Command.EXIT, 0);  myString = new StringItem("15");  myForm.append(myString);  myForm.addCommand(exitCommand);  myForm.setCommandListener(this);  }  public void startApp()  {  mDisplay = Display.getDisplay(this);  mDisplay.setCurrent(myF...