1Z0-501 무료 덤프문제 온라인 액세스
| 시험코드: | 1Z0-501 |
| 시험이름: | Java Certified Programmer |
| 인증사: | Oracle |
| 무료 덤프 문항수: | 147 |
| 업로드 날짜: | 2026-10-13 |
Given:
Integer i = new Integer (42);
Long 1 = new Long (42);
Double d = new Double (42.0);
Which two expressions evaluate to True? (Choose Two)
Exhibit:
1 . public class Test {
2 . public static void replaceJ(string text) {
3 . text.replace ('j', 'l');
4 .}
5 .
6 . public static void main(String args[]){
7 . string text = new String ("java")
8 . replaceJ(text);
9 . system.out.printIn(text);
1 0.}
1 1.}
What is the result?
Exhibit:
1 . class super (
2 . public int I = 0;
3 .
4 . public super (string text) (
5 . I = 1
6 .)
7 .)
8 .
9 . public class sub extends super (
1 0. public sub (string text) (
1 1. i= 2
1 2. )
1 3.
1 4. public static void main (straing args[]) (
1 5. sub sub = new sub ("Hello");
1 6. system.out. PrintIn(sub.i);
1 7.)
1 8. )
What is the result?