End of preview
Unformatted text preview: protected int ConstOver() { } C. private ConstOver(int z, int y, byte x) { } D. public Object ConstOver(int x, int y, int z) { } E. public void ConstOver(byte x, byte y, byte z) { } Answer: A, C QUESTION: 65 Given: 11. interface AnInterface { } 12. class AnAdapter0 { 13. AnAdapter0() { } 14. } 15. class AnAdapter1 { 16. AnAdapter1(int i) { } 17. } Which two build an anonymous inner class? (Choose two.) A. AnAdapter1 aa = new AnAdapter1(){ } B. AnAdapter0 aa = new AnAdapter0() { } C. AnAdapter0 aa = new AnAdapter0(5){ } D. AnAdapter1 aa = new AnAdapter1(5){ } E. AnInterface ai = new AnInterface (5) { } Answer: B, D 32 QUESTION: 66 Click the Exhibit button. What is the result when main is executed? A. Compilation fails. B. hello from a C. hello from b D. hello from b hello from a E. hello from a hello from b Answer: A 33 For More exams visit http s ://killexams.com /vendors-exam-list Kill your exam at First Attempt .... Guaranteed!...
View
Full Document