IT인증,IT자격증,IT자격증시험,IT인증시험

http://www.pass4test.net/

Oracle 1Z0-853 (Java Standard Edition 5 Programmer Certified Professional Exam) 인증덤프

Pass4Test의  Oracle 1Z0-853 (Java Standard Edition 5 Programmer Certified Professional Exam) 덤프가 있으면 힘든 Oracle 1Z0-853 (Java Standard Edition 5 Programmer Certified Professional Exa m) 시험이 쉬어져서 자격증을 제일 빠른 시간내에 취득할수 있습니다.제일 어려운 시험을 제일 간단한 방법으로 패스하는 방법은 Pass4Test의  Oracle 1Z0-853 (Java Standard Edition 5 Programmer Certified Professional Exam) 덤프로 시험준비 공부를 하는것입니다.

 

 

 

NO.1 }

NO.2 Given:
10. class One {
11. void foo() { }
12. }
13. class Two extends One {
14. //insert method here
15. }
Which three methods, inserted individually at line 14, will correctly complete class Two? (Choose three.)
A. public void foo() { /* more code here */ }
B. private void foo() { /* more code here */ }
C. protected void foo() { /* more code here */ }
D. int foo() { /* more code here */ }
E. void foo() { /* more code here */ }
Answer: A,C,E

NO.3 Given:
11. public class Yikes {
12.
13. public static void go(Long n) {System.out.println("Long ");}
14. public static void go(Short n) {System.out.println("Short ");}
15. public static void go(int n) {System.out.println("int ");}
16. public static void main(String [] args) {
17. short y = 6;
18. long z = 7;
19. go(y);
20. go(z);
21. }
22. }
What is the result?
A. An exception is thrown at runtime.
B. int Long
C. Compilation fails.
D. Short Long
Answer: B

NO.4 }

NO.5 Click the Exhibit button.
Given:
25. try {
26. A a = new A();
27. a.method1();
28. } catch (Exception e) {
29. System.out.print("an error occurred");
30. }
Which two statements are true if a NullPointerException is thrown on line 3 of class C? (Choose two.)
A. The application will crash.
B. The code on line 29 will be executed.
C. The code on line 5 of class A will execute.
D. The exception will be propagated back to line 27.
E. The code on line 5 of class B will execute.
Answer: B,D

NO.6 Given:
20. public class CreditCard {
21.
22. private String cardID;
23. private Integer limit;
24. public String ownerName;
25.
26. public void setCardInformation(String cardID,
27. String ownerName,
28. Integer limit) {
29. this.cardID = cardID;
30. this.ownerName = ownerName;
31. this.limit = limit;
32. }
33. }
Which statement is true?
A. The cardID and limit variables break polymorphism.
B. The code demonstrates polymorphism.
C. The ownerName variable breaks encapsulation.
D. The setCardInformation method breaks encapsulation.
E. The class is fully encapsulated.
Answer: C

NO.7 void doStuff(int x) {

NO.8 // insert code here

NO.9 Given:
10. class Line {

NO.10 Which two code fragments correctly create and initialize a static array of int elements.? (Choose two.)
A. static final int[] a = { 100,200 };
B. static final int[] a;
static { a=new int[2]; a[0]=100; a[1]=200; }
C. static final int[] a;
static void init() { a = new int[3]; a[0]=100; a[1]=200; }
D. static final int[] a = new int[2]{ 100,200 };
Answer: A,B


 
Posted 2013/8/9 3:38:22  |  Category: 미분류  |  Tag: