Oracle Java SE 7 Programmer I (1Z1-803日本語版) - 1Z1-803日本語 Free Exam Questions

QUESTION NO: 1
Given:
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: A Vote an answer
QUESTION NO: 2

Correct Answer: C,E Vote an answer
QUESTION NO: 3

class Student {
int rollnumber;
String name;
List cources = new ArrayList();
// insert code here
public String toString() {
return rollnumber + " : " + name + " : " + cources;
} }
And,
public class Test { public static void main(String[] args) {
List cs = newArrayList();
cs.add("Java");
cs.add("C");
Student s = new Student(123,"Fred", cs);
System.out.println(s);
}
}

Correct Answer: B Vote an answer
QUESTION NO: 4


Correct Answer: D,E,G Vote an answer
QUESTION NO: 5

Correct Answer: C,E,F Vote an answer
QUESTION NO: 6

class Sports {
int num_players;
String name, ground_condition;
Sports(int np, String sname, String sground){ num_players = np;
name = sname;
ground_condition = sground;
}
}
class Cricket extends Sports {
int num_umpires;
int num_substitutes;

Correct Answer: C Vote an answer
QUESTION NO: 7

System.out.printIn ("Result: " +3+5);
System.out.printIn ("Result: " + (3+5));

Correct Answer: A Vote an answer
QUESTION NO: 8



1 2 3 4
1 2 3 4
1 2 3 4
1 2 3 4

Correct Answer: D Vote an answer
QUESTION NO: 9
Given:
public class SampleClass {
public static void main(String[] args) {
AnotherSampleClass asc = new AnotherSampleClass(); SampleClass sc = new SampleClass();
sc = asc;
System.out.println("sc: " + sc.getClass());
System.out.println("asc: " + asc.getClass());
}}
class AnotherSampleClass extends SampleClass {
}

Correct Answer: A Vote an answer
QUESTION NO: 10


Correct Answer: C Vote an answer
QUESTION NO: 11

Correct Answer: D Vote an answer
QUESTION NO: 12

public class ScopeTest {
int j, int k;
public static void main(String[] args) {
ew ScopeTest().doStuff(); }
void doStuff() {
nt x = 5;
oStuff2();
System.out.println("x");
}
void doStuff2() {
nt y = 7;
ystem.out.println("y");
or (int z = 0; z < 5; z++) {
ystem.out.println("z");
ystem.out.println("y");
}

Correct Answer: B,D Vote an answer
QUESTION NO: 13
public class ForTest {
public static void main(String[] args) { int[] arrar = {1,2,3}; for ( foo ) { } } }

Correct Answer: A,B,D Vote an answer
QUESTION NO: 14


Correct Answer: E Vote an answer

QUALITY AND VALUE

Actual4test Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.

Tested and Approved

We are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.

Easy to Pass

If you prepare for the exams using our Actual4test testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.

Try Before Buy

Actual4test offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.