Oracle Java SE 8 Programmer I (1z0-808 Korean Version) - 1z0-808 Korean FREE EXAM DUMPS QUESTIONS & ANSWERS
주어진 코드 조각:

결과는 무엇입니까?

결과는 무엇입니까?
Correct Answer: C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
주어진:

결과는 무엇입니까?

결과는 무엇입니까?
Correct Answer: D
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
주어진:
import java.util.*;
public class Ref {
public static void main(String[] args) {
StringBuilder s1 = new StringBuilder("Hello Java!");
String s2 = s1.toString();
List<String> lst = new ArrayList<String>();
lst.add(s2);
System.out.println(s1.getClass());
System.out.println(s2.getClass());
System.out.println(lst.getClass());
}
}
결과는 무엇입니까?
import java.util.*;
public class Ref {
public static void main(String[] args) {
StringBuilder s1 = new StringBuilder("Hello Java!");
String s2 = s1.toString();
List<String> lst = new ArrayList<String>();
lst.add(s2);
System.out.println(s1.getClass());
System.out.println(s2.getClass());
System.out.println(lst.getClass());
}
}
결과는 무엇입니까?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
클래스 정의가 주어지면 다음과 같습니다.
class Shape { }
class Square extends Shape { }
Given the variable declarations:
Shape shape1 = null;
Square square1 = null;
Which four compile?
class Shape { }
class Square extends Shape { }
Given the variable declarations:
Shape shape1 = null;
Square square1 = null;
Which four compile?
Correct Answer: A,C,D,E
Vote an answer
세 파일의 코드 조각이 주어졌을 때:

2행에 삽입할 때 코드를 컴파일할 수 있는 코드 조각은 무엇입니까?


2행에 삽입할 때 코드를 컴파일할 수 있는 코드 조각은 무엇입니까?

Correct Answer: E
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
주어진:

결과는 무엇입니까?

결과는 무엇입니까?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
코드 조각을 보면 다음과 같습니다.
System.out.println(2 + 4 * 9 - 3); //Line 21
System.out.println((2 + 4) * 9 - 3); // Line 22
System.out.println(2 + (4 * 9) - 3); // Line 23
System.out.println(2 + 4 * (9 - 3)); // Line 24
System.out.println((2 + 4 * 9) - 3); // Line 25
가장 높은 숫자를 인쇄하는 코드 줄은 무엇입니까?
System.out.println(2 + 4 * 9 - 3); //Line 21
System.out.println((2 + 4) * 9 - 3); // Line 22
System.out.println(2 + (4 * 9) - 3); // Line 23
System.out.println(2 + 4 * (9 - 3)); // Line 24
System.out.println((2 + 4 * 9) - 3); // Line 25
가장 높은 숫자를 인쇄하는 코드 줄은 무엇입니까?
Correct Answer: A
Vote an answer
주어진:
public class MainMethod {
void main() {
System.out.println("one");
}
static void main(String args) {
System.out.println("two");
}
public static void main(String[] args) {
System.out.println("three");
}
void mina(Object[] args) {
System.out.println("four");
}
}
프로그램이 실행되면 무엇이 출력되나요?
public class MainMethod {
void main() {
System.out.println("one");
}
static void main(String args) {
System.out.println("two");
}
public static void main(String[] args) {
System.out.println("three");
}
void mina(Object[] args) {
System.out.println("four");
}
}
프로그램이 실행되면 무엇이 출력되나요?
Correct Answer: A
Vote an answer



