domingo, 21 de febrero de 2010

Material Ultima para Examen Sun Java

Examen sun, Upgrade exam for the Sun Certified for Java Programmer.SE6.0,cuenta con 93 Preguntas y respuestas y además ,era actualizado en15-enero-2010

He aquí una parte del examen

1. Given:

11. public class Test {

12. public enum Dogs {collie, harrier, shepherd};

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

14. Dogs myDog = Dogs.shepherd;

15. switch (myDog) {

16. case collie:

17. System.out.print("collie ");

18. case default:

19. System.out.print("retriever ");

20. case harrier:

21. System.out.print("harrier ");

22. }

23. }

24. }

What is the result?

A.harrier

B.shepherd

C.retriever

D.Compilation fails.

E.retriever harrier

F.An exception is thrown at runtime.

Answer:D

2. Given:

10. interface Foo {}

11. class Alpha implements Foo {}

12. class Beta extends Alpha {}

13. class Delta extends Beta {

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

15. Beta x = new Beta();

16. // insert code here

17. }

18. }

Which code, inserted at line 16, will cause a java.lang.ClassCastException?

A.Alpha a = x;

B.Foo f = (Delta)x;

C.Foo f = (Alpha)x;

D.Beta b = (Beta)(Alpha)x;

Answer:B

3. A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where

the old one is installed. Bob is currently able to run a Java chess program starting from his home directory

/home/bob using the command:


java -classpath /test:/home/bob/downloads/*.jar games.Chess

Bob's CLASSPATH is set (at login time) to:/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jarWhat is

a possible location for the Chess.class file?

A./test/Chess.class

B./home/bob/Chess.class

C./test/games/Chess.class

D./usr/lib/games/Chess.class

E./home/bob/games/Chess.class

F.inside jarfile /opt/java/lib/Games.jar (with a correct manifest)

G.inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)

Answer:C

puede conocer mucho viendo la página de http://www.killtest.es/SUNOtherCertifications/310-066.asp

lunes, 8 de febrero de 2010

Sun Java Certified Programmer

157 Preguntas y respuestas del examen Sun Java Certified Programmer
mp;As
(buena calidad)

Unas partes del examen:

1.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

2..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

3..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

Más información en la página:

http://www.killtest.es/SUNOtherCertifications/310-025.asp

Atención:

Después de usa SUN Other Certifications con la solución precisa,le garantizamos a usted que pasará el real examen de una vez

lunes, 1 de febrero de 2010

Examen sobre Sun Certified Web Component Developer for J2EE 5 cuya cantidad es de 276Q&As,fecha de renovacion en enero-15 2010.

vamos a compartir los últimos:

1. You want a Mac OS X Server v10.6 computer to use an XML configuration file to configure itself when it

starts up for the first time. Which is a valid location to store the configuration file?

A. In /Users/Shared/Auto-Config/ on your DHCP server

B. In /Volumes/usbdrive/Auto Server Setup/ on the new server

C. On any Software Update server on the same subnet as the new server

D. In /Users/Shared/Auto Server Setup/ on any Mac OS X server on your network

Answer: B


2. You want to install and configure Mac OS X Server v10.6 on a computer that has been added to your

network. Which steps can you take so the computer will automatically configure itself when it restarts after

the installation?

A. Save the configuration details as a text file named generic.plist, and store the file at the root of the

computer's hard drive.

B. Save the configuration details as a file named setup.plist, and store the file in a folder named Auto

Server Setup on the root of the computer's hard drive.

C. Save the configuration details as a record in a directory service running on your network, with the MAC

address of the computer as the name of the record.

D. Save the configuration details as a text file, with the computer's host name as the name of the file, and

store the file on any Mac OS X file server on the same subnet as your computer.

Answer: B

Más informaciones se encuentran: http://www.killtest.es/SCWCD/310-083.asp

Killtest garantía:

1.pasará de una vez de SCWCD
2.310-083 se les ofrece la renovación gratuita que durará un año .
3.El KillTest llegará por lo menos al 98% en el cubrimiento y la precisión