1.
What is the minimum number of simultaneously running threads that a JTWI 1.0 device must support for each MIDlet suite?
2.
Which is true about PushRegistry.registerAlarm()?
3.
What is true when an enumeration applies both a RecordFilter class and RecordComparator class on a record store?
4.
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?
5.
Given the MIDlet code:
7. String s = System.getProperty("microedition.configuration");
8. if (!s.equals("CLDC-1.1")) {
9. s = "CLDC-1.1";
10. }
11. System.setProperty(s);
Which statement is true?
6.
Which guarantees the application can be installed without push registration conflicts?
7.
Given:
10. //...
20. int[] foo = new int[10000];
21. foo = null;
22. System.gc();
23. //...
Which is true once the program execution reaches line 23?
8.
Given:
50. class MyGameCanvas extends Canvas {
51. //...
60. public MyGameCanvas() {
61. int width1 = getWidth();
62. int height1 = getHeight();

63. //...
70. setFullScreenMode(true);
71. //...
80. int width2 = getWidth();
81. int height2 = getHeight();
82. //...
90. }
What is true about width1, height1 and width2, height2?
9.
Which declaration is illegal?
10.
Given the MIDlet code:
3. public void go() {
4. try {
5. doStuff();
6. } catch(java.lang.IllegalAccessError e) {
7. aForm.append("An Error");
8. }
9. }
Assuming the aForm variable on line 7 is a correctly initialized Form and set to the current display, what is the result?