Issuu on Google+

http://www.pass4sureOfficial.com

310-025 Sun Sun Java Certified Programmer

Pass4sureofficial.com is a reputable IT certification examination guide, study guides and audio exam provider, we not only ensure that you pass your 310-025 exam in first attempt, but also you can get a high score to acquire Sun certification. If you use pass4sureofficial 310-025 Certification questions and answers, you will experience actual 310-025 exam questions/answers. We know exactly what is needed and have all the exam preparation material required to pass the exam. Our Sun exam prep covers over 95% of the questions and answers that may be appeared in your 310-025 exam. Every point from pass4sure 310-025 PDF, 310-025 review will help you take Sun 310-025 exam much easier and become Sun certified. All the Questions/Answers are taken from real exams. Here's what you can expect from the Pass4sureOfficial Sun 310-025 course: * Up-to-Date Sun 310-025 questions taken from the real exam. * 100% correct Sun 310-025 answers you simply can't find in other 310-025 courses. * All of our tests are easy to download. Your file will be saved as a 310-025 PDF. * Sun 310-025 brain dump free content featuring the real 310-025 test questions. Sun 310-025 certification exam is of core importance both in your Professional life and Sun certification path. With Sun certification you can get a good job easily in the market and get on your path for success. Professionals who passed Sun 310-025 exam training are an absolute favorite in the industry. You will pass Sun 310-025 certification test and career opportunities will be open for you.


Exam Name: Exam Type: Exam Code:

Sun Certified Java Programmer Sun 310-025

Total Questions:

Question 1. Given: 1. public class Test { 2. public static void main (String [] args) { 3. string foo = “blue”; 4. string bar = foo; 5. foo = “green”; 6. System.out.printIn(bar); 7. } 8. } What is the result? A. An exception is thrown. B. The code will not compile. C. The program prints “null ” D. The program prints “blue ” E. The program prints “green ” Ans: D Question 2. Which code determines the int value foo closest to a double value bar? A. Int foo =(int)Math.max(bar); B. Int foo =(int)Math.min(bar); C. Int foo =(int)Math.abs(bar); D. Int foo =(int)Math.ceil(bar); E. Int foo =(int)Math.floor(bar); F. Int foo =(int)Math.round(bar); Ans: F Question 3. Which two demonstrate encapsulation of data?(Choose Two) A. Member data have no access modifiers. B. Member data can be modified directly. C. The access modifier for methods is protected. D. The access modifier to member data is private. E. Methods provide for access and modification of data. Ans: D & E

Page 1 of 65

160


Exam Name: Exam Type: Exam Code:

Sun Certified Java Programmer Sun 310-025

Total Questions:

160

Question 4. Exhibit: 1. class A { 2. public String toString () { 3. return “4”; 4. } 5. } 6. class B extends A { 7. 8. public String toString () { 8. return super.toString() + “3”; 9. } 10. } 11. public class Test { 12. public static void main(String[]args) { 13. System.out.printIn(new B()); 14. } 15.} What is the result? A. Compilation succeeds and 4 is printed. B. Compilation succeeds and 43 is printed. C. An error on line 9 causes compilation to fail. D. An error on line 14 causes compilation to fail. E. Compilation succeeds but an exception is thrown at line 9. Ans: B Question 5. Which two statements are true?(Choose Two) A. An anonymous inner class can be declared inside of a method B. An anonymous inner class constructor can take arguments in some situation. C. An anonymous inner class that is a direct subclass that is a direct subclass of Object can implement multiple interfaces. D. Even if a class Super does not implement any interfaces,it is still possible to define an anonymous inner class that is an immediate subclass of Super that implements a single interface. E. Event if a class Super does not implement any interfaces,it is still possible to define an anonymous inner class that is an immediate subclass of Super that implements multiple interfaces. Ans: A & B

Page 2 of 65


Exam Name: Exam Type: Exam Code:

Sun Certified Java Programmer Sun 310-025

Total Questions:

160

Question 6. Given: 1. public class MethodOver { 2. private int x, y; 3. private float z; 4. public void setVar(int a, int b, float c){ 5. x = a; 6. y = b; 7. z = c; 8. } 9. } Which two overload the setVar method? (Choose Two) A. void x y z } B. public setVar(a,b,c); } C. public this(a,b,c); } D. public x z } E. public x y z }

setVar

(int

void

setVar(int

a,float

c,int

b){

void

setVar(int

a,float

c,int

b){

void

void

a,int

setVar(int

setVar(int

b,float

a,float

ax,int

by,float

c){ =a; =b; =c;

b){ =a; =b; cz){ =ax; =by; =cz;

Ans: B & D Question 7. Which statements about static inner classes are true?(Choose Two) A. B. C. D. E.

A static inner class requires a static initializer. A static inner class requires an instance of the enclosing class. A static inner class has no reference to an instance of the enclosing class. A static inner class has access to the non-static members of the outer class. Static members of a static inner class can be referenced using the class name of the static inner class.

Ans: C & E

Page 3 of 65


Pass4SureOfficial.com Lifetime Membership Features; -

Pass4SureOfficial Lifetime Membership Package includes over 2300 Exams. All exams Questions and Answers are included in package. All Audio Guides are included free in package. All Study Guides are included free in package. Lifetime login access. Unlimited download, no account expiry, no hidden charges, just one time $99 payment. Free updates for Lifetime. Free Download Access to All new exams added in future. Accurate answers with explanations (If applicable). Verified answers researched by industry experts. Study Material updated on regular basis. Questions, Answers and Study Guides are downloadable in PDF format. Audio Exams are downloadable in MP3 format. No authorization code required to open exam. Portable anywhere. 100% success Guarantee. Fast, helpful support 24x7.

View list of All exams (Q&A) downloads http://www.pass4sureofficial.com/allexams.asp View list of All Study Guides (SG) downloads http://www.pass4sureofficial.com/study-guides.asp View list of All Audio Exams (AE) downloads http://www.pass4sureofficial.com/audio-exams.asp Download All Exams Samples http://www.pass4sureofficial.com/samples.asp To purchase $99 Lifetime Full Access Membership click here http://www.pass4sureofficial.com/purchase.asp 3COM ADOBE APC Apple BEA BICSI CheckPoint Cisco Citrix CIW

CompTIA ComputerAssociates CWNP DELL ECCouncil EMC Enterasys ExamExpress Exin ExtremeNetworks

Filemaker Fortinet Foundry Fujitsu GuidanceSoftware HDI Hitachi HP Huawei Hyperion

IBM IISFA Intel ISACA ISC2 ISEB ISM Juniper Legato Lotus

LPI McAfee McData Microsoft Mile2 NetworkAppliance Network-General Nokia Nortel Novell

OMG Oracle PMI Polycom RedHat Sair SASInstitute SCP See-Beyond SNIA

Sun Sybase Symantec TeraData TIA Tibco TruSecure Veritas Vmware


Sun 310-025 Study Guide