miércoles, 14 de abril de 2010
Publicar una parte de Preguntas últimasSCJP 310-035
1.Which statement is true?
A.Memory is reclaimed by calling Runtime.gc().
B.Objects are not collected if they are accessible from live threads.
C.Objects that have finalize() methods are never garbage collected.
D.Objects that have finalize() methods always have their finalize() methods called before the program
ends.
E.An OutOfMemory error is only thrown if a single block of memory cannot be found that is large enough
for a particular requirement.
Correct:B
2.Which statement is true?
A.To call the wait() method, a thread must own the lock of the current thread.
B.To call the wait() method, a thread must own the lock of the object on which the call is to be made.
C.To call the join() method, a thread must own the lock of the object on which the call is to be made.
D.To call the sleep() method, a thread must own the lock of the object on which the call is to be made.
E.To call the yield() method, a thread must own the lock of the object on which the call is to be made.
Correct:B
3.Which two conditions can place the thread in a runnable state after wait() has been called on an
object in that thread? (Choose two.)
A.A thread calls resume() on the thread.
B.A higher priority thread invokes yield().
C.A higher priority thread invokes sleep();
D.A thread calls notify() on the same object.
E.A thread calls notifyAll() on the same object.
Correct:D E
4.Given: 1. public class Foo implements Runnable { 2. public void run() { 3.
System.out.println("Running"); 4. } 5. public void start() { 6. System.out.println("Starting"); 7. } 8.
public static void main(String[] args) { 9. new Thread(new Foo()).start(); 10. } 11. } What is theresult?
A.Running
B.Starting
C.Compilation fails.
D.The code runs with no output.
E.An exception is thrown at runtime.
Correct:A
puedes encontrar más en killtest.es. El material te garantiza pasar 100 por ciento de una vez.
domingo, 11 de abril de 2010
310-027 exam material in Killtes.es
Exam Number/Code: 310-027
Exam Name: SUN CERTIFIED DEVELOPER FOR J2SE
Questions and Answers: 200Q&As
killtest.es 310-027 exam material guarantee to pass! choose the latest 310-027 Practice exam material from killtest.es, you will get success.
Free down the SUN 310-027 PDF demo from killtest.es SUN certification:
miércoles, 24 de marzo de 2010
Examen 310-230 es disponible
Ahora se ofrece una parte de demo PDF
1.Which JAXR interface allows querying a business registry using SQL commands?
A.javax.xml.registry.Connection at level 0
B.javax.xml.registry.FederatedConnection at Level 1
C.javax.xml.registry.BusinessQueryManager at level 0
D.javax.xml.registry.DeclarativeQueryManager at level 1
E.javax.xml.registry.BusinessQueryManager at level 1
F.javax.xml.registry.DeclarativeQueryManager at level 0
Answer:D
2.A developer is migrating all of a company's JAX-RPC services into JAX-WS. Which two statements
are true? (Choose two.)
A.JAX-WS is essentially JAX-RPC 2.0, and is backwards compatible with JAX-RPC services.
B.Deployment descriptors from JAX-RPC can be used under JAX-WS.
C.Deployment descriptors are no longer required.
D.javax.xml.ws.Service is a server-side API.
E.javax.xml.ws.Service is a client API.
F.sun-jaxws.xml is the standard Java EE deployment descriptor.
Answer:C E
3.A client sends a required SOAP header as a SOAP message. The server-side process determines
that information in the header is invalid and generates a SOAP fault. What is the appropriate fault code for
this type of SOAP fault?
A.Client
B.Server
C.MustUnderstand
D.VersionMismatch
E.HeaderError
F.InvalidHeader
Answer:A
Además puede también disfrutar de su demo de formato software.
Atención: Sun 310-230 es el material precioso que es hecho por profesores de IT y especialistas de SCDJWS confirme al examen real en entorno de Prometric o VUE. Por eso, lo ayudará a redir fácilmente el examen .
domingo, 21 de marzo de 2010
Detalles de SUN (solaris 10 OS )310-200
Por eso, ahora mismo es muy necesario rapido elegr el actual 310-200 material de examen.Killtest.es ha publicado el último 310-200 material.La versión nueva contiene 225 preguntas y respuestas.Nombre completo es Sun Certified System Administrator for Solaris 10 OS.Part 1,que garantiza rendir el examen de una vez.
Información de Lab: The hands-on labs ofrecidos en este curso puede incluir el acceso a los equipos que se encuentra en una ubicación,distinta de la de la formación.
Los estudiantes quien pueden beneficiarse de este examen
Los administradores de sistemas que se están preparando para realizar procedimientos esenciales de administración en el sistema operativo Solaris.
descargar gratis el actual 310-200 PDF DEMO de killtest.es
310-200 Objetivos del material:
Manage file systems and local disk drivesPerform system boot procedures Perform mounts and unmounts Control system processes Perform user administration Use the Service Management Facility Perform package administration Manage software patches
lunes, 8 de marzo de 2010
Examen Sun 310-056
1.Given:
12. public class Wow {
13. public static void go(short n) {System.out.println("short");}
14. public static void go(Short n) {System.out.println("SHORT");}
15. public static void go(Long n)
{System.out.println(" LONG");}
16. public static void main(String [] args) {
17. Short y = 6;
18. int z= 7;
19. go(y);
20. go(z);
21. }
22. } What is the result?
A.short LONG
B.SHORT LONG
C.Compilation fails.
D.An exception is thrown at runtime.
Correct:C
2.Given:
11. interface DeclareStuff {
12. public static final int EASY = 3;
13. void doStuff(int t); }
14. public class TestDeclare implements DeclareStuff {
15. public static void main(String [] args) {
16.int x = 5;
17. new TestDeclare().doStuff(++x);
18. }
19. void doStuff(int s) {
20. s += EASY + ++s;
21.System.out.println("s " + s);
22. }
23. } What is the result?
A.s 14
B.s 16
C.s 10
D.Compilation fails.
E.An exception is thrown at runtime.
Correct:D
Más informaciones con preguntas interpertadas por pinturas ,y demo gratis (si necesita DEMO de PDF puede comunicarse con sales@killtest.es)en página http://www.killtest.es/SUNOtherCertifications/310-056.asp
domingo, 21 de febrero de 2010
Material Ultima para Examen Sun Java
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