Given:
interface Writable { }
interface Erasable { }
Which three are valid? (Choose three.)
Answer : A,B,D
A Java programmer wants to develop a small application to run on mobile phones. Which
Java edition (or editions) are required to develop the application?
Answer : D
Which Java technology provides a standard API for relational database access?
Answer : E
Which is true?
Answer : D
Which package contains classes to read from, and write to, files?
Answer : E
Which two are characteristics of applets? (Choose two.)
Answer : B,D
Which two are benefits of servlets? (Choose two.)
Answer : C,D
Which four are legal declarations? (Choose four.)
Answer : A,B,F,G
Given:
1. class Test {
2. public static void main(String args[]) {
3. int i = 1;
4. while (i-- > 1) {
5. System.out.println("i : " + i);
6. }
7. }
8. }
What is the result?
Answer : D
What keyword is used to create an enumeration?
Answer : E
Click the Exhibit button. Which correctly implements the relationship shown in the diagram?
Answer : D
Which Java technology provides a unified interface to multiple naming and directory services?
Answer : D
Given:
1. class Book {
2. public String title;
3.
4. public void setTitle(String title) {
5. if (checkTitle(title)) this.title = title;
6. }
7. public String getTitle() {
8. return title;
9. }
10. private boolean checkTitle(String newTitle) {
11. // code that verifies proposed title change
12. }
13. }
Which two are true? (Choose two.)
Answer : C,D
Which is true about MIDlets?
Answer : D
Which two are characteristics of an RDBMS? (Choose two.)
Answer : C,E