최신Oracle Java Certified Programmer - 1Z0-501무료샘플문제

문제1
Given:
1 . public class Foo {
2 . private int val;
3 . public foo(int v) (val = v;)}
4 . public static void main (String [] args){
5 . Foo a = new Foo (10);
6 . Foo b = new Foo (10);
7 . Foo c = a;
8 . int d = 10;
9 . double e = 10.0;
1 0. }
1 1. }
Which three logical expression evaluate to true? (Choose Three)

정답: A,D,E
문제2
Exhibit:
1. class A {
2 . public int getNumber(int a) {
3 .return a + 1;
4 .}
5 .}
6 .
7 . class B extends A {
8 . public int getNumber (int a) {
9 . return a + 2
1 0. }
1 1.
1 2. public static void main (String args[]){
1 3. A a = new B();
1 4. System.out.printIn(a.getNumber(0));
1 5.}
1 6. }
What is the result?

정답: A
문제3
Given:
1. public class Foo {
2 . public static void main (String [] args){
3 .StringBuffer a = new StringBuffer ("A");
4 .StringBuffer b = new StringBuffer ("B");
5 .operate (a,b);
6 .system.out.printIn{a + "," +b};
7 . )
8 . static void operate (StringBuffer x, StringBuffer y){
9 .x.append {y};
1 0.y = x;
1 1.)
1 2.}
What is the result?

정답: E
문제4
You want a class to have access to members of another class in the same package. Which is the most restrictive access modifier that will accomplish that will accomplish this objective?

정답: B
문제5
Given:
1 . switch (i){
2 . default:
3 . System.out.printIn("Hello");
4 . )
What are the two acceptable types for the variable i? (Choose Two)

정답: A,B
문제6
Given:
1 .public class ForBar {
2 .public static void main(String []args){
3 .int i = 0, j = 5;
4 .tp: for (;;){
5 .i ++;
6 .for(;;)
7 .if(i > --j) break tp;
8 .}
9 .system.out.printIn("i = " + i + ", j = "+ j);
1 0.}
1 1.}
What is the result?

정답: B
문제7
Given:
1 . public class Test {
2 . public static void main (String args[]) {
3 .class Foo {
4 .public int i = 3;
5 .}
6 .Object o = (Object) new Foo();
7 .Foo foo = (Foo)o;
8 .System.out.printIn(foo. i);
9 .}
1 0. }
What is the result?

정답: D
문제8
CORRECT TEXT
Given:
3. string foo = "ABCDE";
4. foo.substring(3);
5. foo.concat("XYZ");
6. Type the value of foo at line 6.
정답:
A,B,C,D,E
문제9
Given:
1 . public class ExceptionTest {
2 . class TestException extends Exception {}
3 . public void runTest () throws TestException {}
4 . public void test () /* Point X*/ {
5 . runTest ();
6 .}
7 . }
At point X on line 4, which code can be added to make the code compile?

정답: E

KoreaDumps의 제품으로 GO GO GO !

자격증의 중요성:

경쟁율이 심한 IT시대에 인증시험을 패스함으로 IT업계 관련 직종에 종사하고자 하는 분들에게는 아주 큰 가산점이 될수 있고 자신만의 위치를 보장할수 있으며 더욱이는 한층 업된 삶을 누릴수 있을수도 있습니다.

KoreaDumps 제품의 가치:

KoreaDumps에는 IT인증시험의 최신 학습가이드가 있습니다. KoreaDumps의 IT전문가들이 자신만의 경험과 끊임없는 노력으로 최고의 학습자료를 작성해 여러분들이 시험에서 패스하도록 도와드립니다.

무료샘플 받아보기:

관심있는 인증시험과목 덤프의 무료샘플을 원하신다면 덤프구매사이트의 PDF Version Demo 버튼을 클릭하고 메일주소를 입력하시면 바로 다운받아 덤프의 일부분 문제를 체험해 보실수 있습니다.

완벽한 서비스 제공:

KoreaDumps는 한국어로 온라인상담과 메일상담을 받습니다. 덤프구매후 일년동안 무료 업데이트 서비스를 제공해드리며 구매일로 부터 60일내에 시험에서 떨어지는 경우 덤프비용 전액을 환불해드려 고객님의 부담을 덜어드립니다.