Sun-Certified-Associate-for-the-Java-Platform-(310-019).pdf...

This preview shows page 1 - 4 out of 8 pages.

310-019 SUN Sun Certified Associate for the Java Platform
QUESTION: 234 Given: 1. abstract class A {} 2. class B {} 3. interface C {} 4. interface D {} 5. // insert code here Which, inserted at line 5, results in a compilation failure?
QUESTION: 235 Click the Exhibit button. Which code correctly implements the association between A and B?
94
D. class A { } class B { private A a; } E. class A { private B[] b; } class B { private A a; } F. class A { private B b; } class B { private A[] a; } Answer: B QUESTION: 236 Given: 1. public abstract class Wow { 2. private int wow; 3. public Wow(int wow) { 4. this.wow = wow; 5. } 6. public void wow() { } 7. private void wowza() { } 8. } Which is true about the class Wow?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture