2013年9月23日星期一

SUN 310-025 questions and answers

Our ITCertKing have a lot of IT professionals and the exam practice questions and answers we provide have been certified by many IT elites. Besides, the exam practice questions and answers have wide coverage of the content of the examination and the correct rate is up to 100%. Although there are many similar websites, perhaps they can provide you study guide and online services, our ITCertKing is leading these many websites. The reason of making the ITCertKing stand out in so many peers is that we have a lot of timely updated practice questions and answers which accurately and correctly hit the exam. So we can well improve the exam pass rate and make the people ready to participate in SUN certification 310-025 exam safely use practice questions and answers provided by ITCertKing to pass the exam. ITCertKing 100% guarantee you to pass SUN certification 310-025 exam.

ITCertKing is a convenient website to provide training resources for IT professionals to participate in the certification exam. ITCertKing have different training methods and training courses for different candidates. With these ITCertKing's targeted training, the candidates can pass the exam much easier. A lot of people who participate in the IT professional certification exam was to use ITCertKing's practice questions and answers to pass the exam, so ITCertKing got a high reputation in the IT industry.

ITCertKing has been to make the greatest efforts to provide the best and most convenient service for our candidates. High speed and high efficiency are certainly the most important points. In today's society, high efficiency is hot topic everywhere. So we designed training materials which have hign efficiency for the majority of candidates. It allows candidates to grasp the knowledge quickly, and achieved excellent results in the exam. ITCertKing's SUN 310-025 exam training materials can help you to save a lot of time and effort. You can also use the extra time and effort to earn more money.

ITCertKing SUN 310-025 exam information are cheap and fine. We use simulation questions and answers dedication to our candidates with ultra-low price and high quality . We sincerely hope that you can pass the exam. We provide you with a convenient online service to resolve any questions about SUN 310-025 exam questions for you.

To help you prepare for 310-025 examination certification, we provide you with a sound knowledge and experience. The questions designed by ITCertKing can help you easily pass the exam. The ITCertKing SUN 310-025 practice including 310-025 exam questions and answers, 310-025 test, 310-025 books, 310-025 study guide.

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-09-23

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

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

SUN   310-025 certification training   310-025

NO.2 )

SUN   310-025 certification training   310-025

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

SUN   310-025 certification training   310-025

NO.4 Given.
1. byte [] arry1, array2[];
2. byte array3 [][];
3. byte[][] array4;
If each array has been initialized, which statement will cause a compiler error?
A. Array2 = array1;
B. Array2 = array3;
C. Array2 = array4;
D. Both A and B
E. Both A and C
F. Both B and C
Answer.F

SUN   310-025 certification training   310-025

NO.5 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 certification training   310-025

NO.6 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 certification training   310-025

NO.7 int j = ~i;

SUN   310-025 certification training   310-025

NO.8 BufferReplace (textBuffer);

SUN   310-025 certification training   310-025

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

SUN   310-025 certification training   310-025

NO.10 You want subclasses in any package to have access to members of a superclass. Which is the most
restrictive access modifier that will accomplish this objective?
A. Public
B. Private
C. Protected
D. Transient
E. No access modifier is qualified
Answer.C

SUN   310-025 certification training   310-025

NO.11 )
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 certification training   310-025

NO.12

SUN   310-025 certification training   310-025

NO.13 Given.
1. public class test(
2. public static void main(string[]args){
3. string foo = args [1];
4. string foo = args [2];
5. string foo = args [3];
6. }
7. } And command line invocation.Java Test red green blue What is the result?
A. Baz has the value of ""
B. Baz has the value of null
C. Baz has the value of "red"
D. Baz has the value of "blue"
E. Bax has the value of "green"
F. The code does not compile.
G. The program throws an exception.
Answer.G

SUN   310-025 certification training   310-025

NO.14 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 certification training   310-025

NO.15 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 certification training   310-025

NO.16 methodA (0);

SUN   310-025 certification training   310-025

NO.17 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 certification training   310-025

NO.18

SUN   310-025 certification training   310-025

NO.19 }

SUN   310-025 certification training   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 certification training   310-025

NO.21

SUN   310-025 certification training   310-025

NO.22 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 certification training   310-025

NO.23 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 certification training   310-025

NO.24 stringReplace (textString);

SUN   310-025 certification training   310-025

NO.25 Given.
1. public class test (

SUN   310-025 certification training   310-025

NO.26 )
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

没有评论:

发表评论