By William, Green, Marcus, Tittel, Ed Brogden

This examination measures the power to layout, write, and comprehend courses written in language model 1.4 of the Java 2 Platform. The programmer's examination concentrates at the language fundamentals. This e-book isn't meant to educate new fabric. as an alternative it assumes that you've an effective origin of data yet can use a refresher on very important suggestions in addition to a advisor to examination subject matters and ambitions. This booklet focuses precisely on what you must cross the examination - it positive aspects test-taking options, time-saving learn counsel, and a unique Cram Sheet that comes with information, acronyms, and reminiscence joggers now not to be had wherever else. The sequence is supported on-line at numerous websites: examcram.com, informit.com, and cramsession.com.

Show description

Read or Download Java 2 Programmer Exam Cram 2 (Exam CX-310-035) PDF

Similar programming: programming languages books

Thinking in Java (One-Off)

Considering in Java, 3rd version is the much-anticipated revision of Bruce Eckel's best-selling advent to Java. In pondering in Java, 3/e, Bruce Eckel presents whole integration of JDK 1. four applied sciences to his award successful 'Thinking in' presentation. Eckel introduces the entire fundamentals of gadgets as Java makes use of them, then walks conscientiously during the primary techniques underlying all Java programming -- together with application movement, initialization and cleanup, implementation hiding, reusing sessions, and polymorphism.

C# 2010 for Programmers (4th Edition) (Deitel Developer Series)

Written for programmers with a heritage in C++, Java or different high-level, object-oriented languages, this publication applies the Deitel signature live-code method of educating programming and explores Microsoft’s C# 2010 language and . web four intensive. The booklet is up to date for visible Studio® 2010 and C# four, and offers C# suggestions within the context of absolutely confirmed courses, whole with syntax shading, special line-by-line code descriptions and application outputs.

Additional resources for Java 2 Programmer Exam Cram 2 (Exam CX-310-035)

Example text

Take the following code fragment: 1. 2. 3. 4. 5. 6. println("s3 eq s4"); The String literal "YES" appears in both lines 1 and 2, but the compiler creates only one String object, referred to by both s1 and s2. Thus, line 3 prints out "equal" and it appears to have been tested for equality of content with the == operator. However, the test in line 6 is always false because two distinct objects are involved. One of the most common mistakes that new programmers make is using the == operator to compare String objects instead of the equals method.

Class alpha beta gamma delta A4: Question 5 Answer C is correct; "gamma" will be the second string in the args array, which has the index 1. Answer A is incorrect because it does not start the Java interpreter. Answer B is incorrect because "gamma" is the third string in the args array. Answers D and E are incorrect because you don't use the class file type when starting the Java interpreter. Which of the following are not reserved words in Java? ] • A. transient • B. include • C. goto • D. union A5: Question 6 Answers B and D are correct.

4. Bitwise and Logical Operators Precedence 1 1 4 4 4 5 6 6 7 7 8 8 9 9 10 11 Operator Operator Description Type ~ Integral Unary bitwise complement ! 5). The operands of the &, |, and ^ operators are promoted to int or long types, as discussed earlier under "Widening Conversions," and the result is an int or long primitive, not a boolean. Because each bit in an integer primitive can be modified and examined independently with these operators, they are frequently used to pack a lot of information into a small space.

Download PDF sample

Rated 4.99 of 5 – based on 38 votes