1Z0-851 무료 덤프문제 온라인 액세스

시험코드:1Z0-851
시험이름:Java Standard Edition 6 Programmer Certified Professional Exam
인증사:Oracle
무료 덤프 문항수:290
업로드 날짜:2026-08-21
평점
100%

문제 1

Given:
1.interface TestA { String toString(); }
2.public class Test {
3.public static void main(String[] args) {
4.System.out.println(new TestA() {
5.public String toString() { return "test"; }
6.});
7.}
8.}
What is the result?

문제 2

Given:
11.String test = "a1b2c3";
12.String[] tokens = test.split("\\d");
13.for(String s: tokens) System.out.print(s + " ");
What is the result?

문제 3

Given:
10.abstract public class Employee {
11.protected abstract double getSalesAmount();
12.public double getCommision() {
13.return getSalesAmount() * 0.15;
14.}
15.}
16.class Sales extends Employee {
17.// insert method here
18.}
Which two methods, inserted independently at line 17, correctly complete the Sales class? (Choose two.)

문제 4

Given:
11.public static void main(String[] args) {
12.try {
13.args = null;
14.args[0] = "test";
15.System.out.println(args[0]);
16.} catch (Exception ex) {
17.System.out.println("Exception");
18.} catch (NullPointerException npe) {
19.System.out.println("NullPointerException");
20.}
21.}
What is the result?

문제 5

Given:
10. interface Jumper { public void jump(); } ...
20. class Animal {} ...
30.class Dog extends Animal {
31.Tail tail; 32. } ...
40.class Beagle extends Dog implements Jumper{
41.public void jump() {}
42.} ...
50.class Cat implements Jumper{
51.public void jump() {}
52.}
Which three are true? (Choose three.)

댓글 추가

귀하의 메일주소는 공개되지 않습니다. 필수 입력 사항은 표시되어 있습니다. *

insert code
그림의 인증번호를 입력하세요.