What is the result if a call to serviceRepaints() triggers a separate thread to invoke paint()?
A. An exception is thrown at runtime.A MIDP 2.0 compliant device creates an HTTP connection to a server that supports HTTP 1.1. Which is true?
A. There is no such thing as a 1.1 version of HTTP.Which two can a developer use to create a Timer that will go off in 5 seconds, repeating every 3 seconds? (Choose two.)
A. timer.schedule(timerTask, new Date().getTime() + 5000, 3000);A mobile application developer is trying to reduce the memory footprint of a game using the MIDP Game API? Which is a valid approach?
A. restrict the number of frames per Sprite to oneGiven the MIDlet code:
11.
DatagramConnection dgc =
(DatagramConnection)Connector.open("datagram://:444");
12.
Datagram datagram = dgc.newDatagram(20);
13.
dgc.receive(datagram);
14.
byte[] data = datagram.getData();
15.
String s = new String(data);
16.
list.append(s, null);
17.
System.out.println("Datagram received: " + s);
Which two are true regarding the portability of the code between devices? (Choose two.)
A. Installation will fail on devices that do not support datagrams.Which two are true about errors and exceptions in a CLDC-compliant virtual machine? (Choose two.)
A. A CLDC-compliant virtual machine must NOT throw a VirtualMachineError.Which declaration is illegal?
A. openRecordStore("Customer_Name_and_Address", true);Given a MIDlet that specifies a push registration in the JAD file as:
MIDlet-Push-1: socket://:79, com.sun.example.SampleChat, *
What is the result when the MIDlet is installed onto a device where another MIDlet has already registered the exact same push connection in the PushRegistry?
A. The connection can only apply to the currently running MIDlet.Which is used to retrieve the version of MIDP a device has implemented?
A. System.getAppProperty("microedition.platform")Given:
1.
import javax.microedition.midlet.*;
2.
public class Foo extends MIDlet {
3.
public void go() {
4.
ThreadGroup x = Thread.currentThread().getThreadGroup();
5.
int numThreads = x.activeCount();
6.
Thread[] threads = null;
7.
x.enumerate(threads);
8.
}
9.
public void destroyApp(boolean b) { }
10.
public void pauseApp() { }
11.
public void startApp() { }
12.
}
What is the result?
A. Compilation succeeds, but the program produces a runtime exception or error.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-869 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.