Upgrade EXAM for the Sun Certified for Java Programmer.SE6.0
- Exam Number/Code : 310-066
- Exam Name : Upgrade EXAM for the Sun Certified for Java Programmer.SE6.0
- Questions and Answers : 93 Q&As
- Update Time: 2009-12-03
Guarantee to Pass Your 310-066 Exam
We provide the latest high quality 310-066 practice exam for the customers,we guarantee your success at the first attempt with only our 310-066 exam questions, if somehow you do not pass the exam at the first time, we will not only arrange FULL REFUND for you, but also provide you another exam of your claim, ABSOLUTELY FREE!
After-sales Service
Once you purchase our products,we will offer you the best service.After you purchase our product, we will offer free update in time for 90 days.Whatever you have any questions,we will help you solve it. And in 3 weeks we will offer you free updates,so please pay attention our site at all times.
Title : Upgrade EXAM for the Sun Certified for Java Programmer.SE6.0
1. 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
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
The related exams:
350-018 CCIE Pre-Qualification Test for Security
350-030 CCIE Voice Written
3I0-008 ACI DEALING CERTIFICATE
4A0-100 Alcatel-Lucent Scalable IP Networks