2013年11月26日星期二

ITCertKing SUN 310-025 exam practice questions and answers

ITCertKing IT Certification has years of training experience. ITCertKing SUN 310-025 exam training materials is a reliable product. IT elite team continue to provide our candidates with the latest version of the 310-025 exam training materials. Our staff made ​​great efforts to ensure that you always get good grades in examinations. To be sure, ITCertKing SUN 310-025 exam materials can provide you with the most practical IT certification material.

ITCertKing can provide you a pertinence training and high quality exercises, which is your best preparation for your first time to attend SUN certification 310-025 exam. ITCertKing's exercises are very similar with the real exam, which can ensure you a successful passing the SUN certification 310-025 exam. If you fail the exam, we will give you a full refund.

Exam Code: 310-025
Exam Name: SUN (Sun Java Certified Programmer)
One year free update, No help, Full refund!
Total Q&A: 160 Questions and Answers
Last Update: 2013-11-26

Everyone has a utopian dream in own heart. Dreams of imaginary make people feel disheartened. In fact, as long as you take the right approach, everything is possible. You can pass the SUN 310-025 exam easily. Why? Because you have ITCertKing's SUN 310-025 exam training materials. ITCertKing's SUN 310-025 exam training materials are the best training materials for IT certification. It is famous for the most comprehensive and updated by the highest rate. It also can save time and effort. With it, you will pass the exam easily. If you pass the exam, you will have the self-confidence, with the confidence you will succeed.

We will not only ensure you to pass the exam, but also provide for you a year free update service. If you are not careful to fail to pass the examination, we will full refund to you. However, this possibility is almost not going to happen. We can 100% help you pass the exam, you can download part of practice questions from ITCertKing as a free try.

ITCertKing is a website to provide IT certification exam training tool for people who attend IT certification exam examinee. ITCertKing's training tool has strong pertinence, which can help you save a lot of valuable time and energy to pass IT certification exam. Our exercises and answers and are very close true examination questions. IN a short time of using ITCertKing's simulation test, you can 100% pass the exam. So spending a small amount of time and money in exchange for such a good result is worthful. Please add ITCertKing's training tool in your shopping cart now.

310-025 Free Demo Download: http://www.itcertking.com/310-025_exam.html

NO.1 System.out.printLn (textString + textBuffer);

SUN   310-025   310-025   310-025 pdf   310-025

NO.2 Which declaration prevents creating a subclass of an outer class?
A. Static class FooBar{}
B. Private class FooBar{}
C. Abstract public class FooBar{}
D. Final public class FooBar{}
E. Final abstract class FooBar{}
Answer.D

SUN   310-025   310-025   310-025 pdf   310-025

NO.3

SUN   310-025   310-025   310-025 pdf   310-025

NO.4 }

SUN   310-025   310-025   310-025 pdf   310-025

NO.5 Given.
1. abstract class abstrctIt {
2. abstract float getFloat ();
3. )
4. public class AbstractTest extends AbstractIt {
5. private float f1= 1.0f;
6. private float getFloat () {return f1;}
7. }
What is the result?
A. Compilation is successful.
B. An error on line 6 causes a runtime failure.
C. An error at line 6 causes compilation to fail.
D. An error at line 2 causes compilation to fail.
Answer.C

SUN   310-025   310-025   310-025 pdf   310-025

NO.6 Exhibit.
1. public class test(
2. public int aMethod()[
3. static int i=0;
4. i++;
5. return I;
6. )
7. public static void main (String args[]){
8. test test = new test();
9. test.aMethod(); 10.int j = test.aMethod(); 11.System.out.printIn(j); 12.] 13.} What is the result?
A. Compilation will fail.
B. Compilation will succeed and the program will print "0"
C. Compilation will succeed and the program will print "1"
D. Compilation will succeed and the program will print "2"
Answer.D

SUN   310-025   310-025   310-025 pdf   310-025

NO.7

SUN   310-025   310-025   310-025 pdf   310-025

NO.8 public static void main (String args[] } (

SUN   310-025   310-025   310-025 pdf   310-025

NO.9 Which will declare a method that forces a subclass to implement it?
A. Public double methoda();
B. Static void methoda (double d1) {}
C. Public native double methoda();
D. Abstract public void methoda();
E. Protected void methoda (double d1){}
Answer.D

SUN   310-025   310-025   310-025 pdf   310-025

NO.10 Given.
1. public class test (

SUN   310-025   310-025   310-025 pdf   310-025

NO.11 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 (
10. public sub (string text) (
11. i= 2
12. )
13.
14. public static void main (straing args[]) (
15. sub sub = new sub ("Hello");
16. system.out. PrintIn(sub.i);
17. )
18. )
What is the result?
A. Compilation will fail.
B. Compilation will succeed and the program will print "0"
C. Compilation will succeed and the program will print "1"
D. Compilation will succeed and the program will print "2"
Answer.A

SUN   310-025   310-025   310-025 pdf   310-025

NO.12 int j = ~i;

SUN   310-025   310-025   310-025 pdf   310-025

NO.13 BufferReplace (textBuffer);

SUN   310-025   310-025   310-025 pdf   310-025

NO.14 )

SUN   310-025   310-025   310-025 pdf   310-025

NO.15 public static void main (String args[]) {

SUN   310-025   310-025   310-025 pdf   310-025

NO.16 system.out.printIn(j);

SUN   310-025   310-025   310-025 pdf   310-025

NO.17 }

SUN   310-025   310-025   310-025 pdf   310-025

NO.18 stringReplace (textString);

SUN   310-025   310-025   310-025 pdf   310-025

NO.19 Given.
1. int index = 1;
2. int [] foo = new int [3]; 10.int bar = foo [index]; 11.int baz = bar + index; What is the result?
A. Baz has the value of 0
B. Baz has the value of 1
C. Baz has the value of 2
D. An exception is thrown.
E. The code will not compile.
Answer.B

SUN   310-025   310-025   310-025 pdf   310-025

NO.20 Given.
1. public class foo {
2. public static void main (String[]args) {
3. String s;
4. system.out.printIn ("s=" + s);
5. }
6. }
What is the result?
A. The code compiles and "s=" is printed.
B. The code compiles and "s=null" is printed.
C. The code does not compile because string s is not initialized.
D. The code does not compile because string s cannot be referenced.
E. The code compiles, but a NullPointerException is thrown when toString is called.
Answer.C

SUN   310-025   310-025   310-025 pdf   310-025

NO.21 )
What is the decimal value of j at line 5?
A. 0
B. 1
C. 14
D. -15
E. An error at line 3 causes compilation to fail.
F. An error at line 4 causes compilation to fail.
Answer.C
2.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)
A. (i ==1)
B. (i == d)
C. (d == 1)
D. (i.equals (d))
E. (d.equals (i))
F. (i.equals (42))
Answer.D, E
3.Exhibit .
1. public class test (
2. private static int j = 0;
3.
4. private static boolean methodB(int k) (
5. j += k;
6. return true;
1. )
2.
3. public static void methodA(int i) {
4. boolean b.
5. b = i < 10 | methodB (4);
6. b = i < 10 || methodB (8);
7. )

SUN   310-025   310-025   310-025 pdf   310-025

NO.22 Given.
1. class super {
2. public float getNum() {return 3.0f;}
3. )
4.
5. public class Sub extends Super {
6.
7. )
Which method, placed at line 6, will cause a compiler error?
A. Public float getNum() {return 4.0f; }
B. Public void getNum () { }
C. Public void getNum (double d) { }
D. Public double getNum (float d) {retrun 4.0f; }
Answer.B

SUN   310-025   310-025   310-025 pdf   310-025

NO.23 methodA (0);

SUN   310-025   310-025   310-025 pdf   310-025

NO.24 )
What is the result?
A. The program prints "0"
B. The program prints "4"
C. The program prints "8"
D. The program prints "12"
E. The code does not complete.
Answer.B
4.Given
1. Public class test (
2. Public static void main (String args[]) (
3. System.out.printIn (6

没有评论:

发表评论