background preloader

Javacertification

Facebook Twitter

Examlab.tk. SCJP 6 Cleared! Or how to effectively and confidently pass SCJP exam... (Sun Certification Results forum at JavaRanch) I nailed down SCJP 6 exam yesterday! I did 84%, however, was a bit frustrated with my score, as I was aiming confidently to score 100%. During the exam there was only one or two questions that I was not too sure about the answer so I was expecting something around +95%... I would like to thanks so much Khalid Mughal and Rolf Rasmussen for their wonderful, amazing, great, book on SCJP 6: “A Programmer's Guide to Java SCJP Certification: A Comprehensive Primer (3rd Edition)”. Actually this book is recently published and I was blessed to have the opportunity to read it before going for my exam.

Thanks to Devaka for his fantastic ExamLab! Also I should thank Kathy and Bert for writing an interactive and live SCJP 6 preparation book. Last but not least, thank you all ranchers! I started from almost zero Java knowledge and spent a few months for my exam preparation by reading more than six books and went over three exam simulator.

Java Ranch: Contribute to this forum! Scjp Faq. Please use the SCJP forum to post your own question, and list yourself on the ScjpWallOfFame if you mastered the exam. See OcpjpFaq for Java 7 exam content. SCJP FAQ Contents Questions about Oracle Resources General Questions about the Exams Questions about Exam Preparation (Books, Notes, Mock Exams, etc.) Questions on Specific Topics Where can I find the official SCJP FAQ from Oracle? What are the SCJP objectives? What are the upgrade exams? The upgrade exams are for candidates who already hold an SCJP certification under a prior version and want to be certified under a more recent version. For more information see: If my last SCJP was 1.4 can I take the 1.6 upgrade or do I have to take the full 1.6 exam?

No. Is the upgrade exam easier than the full exam? Well there are less questions but the pass mark is slightly higher. What is the best way to prepare for the SCJP exam? Contributed by Mike Van... What are some mock exams available? Certified Java Programmer (SCJP) Oracle acquired Sun Microsystems in 2010, and since that time Oracle's hardware and software engineers have worked side-by-side to build fully integrated systems and optimized solutions designed to achieve performance levels that are unmatched in the industry.

Early examples include the Oracle Exadata Database Machine X2-8, and the first Oracle Exalogic Elastic Cloud, both introduced in late 2010. During 2011, Oracle introduced the SPARC SuperCluster T4-4, a general-purpose, engineered system with Oracle Solaris that delivered record-breaking performance on a series of enterprise benchmarks. Oracle's SPARC-based systems are some of the most scalable, reliable, and secure products available today. Sun's prized software portfolio has continued to develop as well, with new releases of Oracle Solaris, MySQL, and the recent introduction of Java 7.

Oracle invests in innovation by designing hardware and software systems that are engineered to work together. JCERT: SCJP 1.5 Frequently Asked Questions. Frequently asked Questions on Java Programmer Certification by Marcus Green Last Modified 11 January 2006 The end of this document is marked with the words "End of document" If you cannot see those words then you have not got the entire document. FAQ Starts Here I took and passed the Sun Certified Java Programmers Exam in September 1998. General Stuff What are the benefits of becoming certified?

What version of the exam should I take? How do I book and what does it cost? Learning Resources Is it a good idea to do a classroom course? What about online courses? What books will help me become certified? What mock exams are available? Examination Administrivia Where can I take the exam? Can I just turn up and take the exam? Where and when can I see my results online?

Actually taking the exam How many questions and how long is the exam? What is the pass mark? How quickly do you get the exam results? What do you get when you pass? I'm already a Java programmer, will I have to study? What is the secret of life? The For-Each Loop. Iterating over a collection is uglier than it needs to be. Consider the following method, which takes a collection of timer tasks and cancels them: void cancelAll(Collection<TimerTask> c) { for (Iterator<TimerTask> i = c.iterator(); i.hasNext(); ) i.next().cancel(); } The iterator is just clutter. Furthermore, it is an opportunity for error. The iterator variable occurs three times in each loop: that is two chances to get it wrong. The for-each construct gets rid of the clutter and the opportunity for error. Here is how the example looks with the for-each construct: When you see the colon (:) read it as “in.” Here is a common mistake people make when they are trying to do nested iteration over two collections: List suits = ...; List ranks = ...; List sortedDeck = new ArrayList(); // BROKEN - throws NoSuchElementException!

Can you spot the bug? So what does all this have to do with the for-each construct? For (Suit suit : suits) for (Rank rank : ranks) sortedDeck.add(new Card(suit, rank)); Enums. In prior releases, the standard way to represent an enumerated type was the int Enum pattern: // int Enum Pattern - has severe problems! Public static final int SEASON_WINTER = 0; public static final int SEASON_SPRING = 1; public static final int SEASON_SUMMER = 2; public static final int SEASON_FALL = 3; This pattern has many problems, such as: Not typesafe - Since a season is just an int you can pass in any other int value where a season is required, or add two seasons together (which makes no sense).

No namespace - You must prefix constants of an int enum with a string (in this case SEASON_) to avoid collisions with other int enum types. In 5.0, the Java™ programming language gets linguistic support for enumerated types. Enum Season { WINTER, SPRING, SUMMER, FALL } But appearances can be deceiving. Here is an example of a playing card class built atop a couple of simple enum types.

The toString method for Card takes advantage of the toString methods for Rank and Suit. Lesson: Regular Expressions (The Java™ Tutorials &gt; Essential Classes) This lesson explains how to use the java.util.regex API for pattern matching with regular expressions. Although the syntax accepted by this package is similar to the Perl programming language, knowledge of Perl is not a prerequisite.

This lesson starts with the basics, and gradually builds to cover more advanced techniques. Introduction Provides a general overview of regular expressions. It also introduces the core classes that comprise this API. Test Harness Defines a simple application for testing pattern matching with regular expressions. String Literals Introduces basic pattern matching, metacharacters, and quoting. Character Classes Describes simple character classes, negation, ranges, unions, intersections, and subtraction.

Predefined Character Classes Describes the basic predefined character classes for whitespace, word, and digit characters. Quantifiers Explains greedy, reluctant, and possessive quantifiers for matching a specified expression x number of times. Capturing Groups. Certified Programmer for the Java Platform, Standard Edition 5.0 (CX-310-055) JCERT: The JDK 1.5 SCJP Exam. The JDK 1.5 SCJP Exam The Sun Certified Java Programmer Exam for JDK 1.5 is one of the more significant updates to the exam syllabus. You can see the objectives of the new exam at It makes sense that this is a big update as JDK 1.5 introduced some significant changes to the Java language.

There has been considerable discussion in the SCJP forums along the lines of "should I take the 1.4 or the 1.5 exams" and some people have taken the line that there is a shortage of exam specific material for the 1.5 exam and the exam is more difficult. The exam may be slightly harder than the 1.4 exam, but that should be an incentive as a difficult exam can gather more respect than an easier exam.

One of the main goals of this new exam is to create a test that is "performance based" rather than "knowledge based" (Sun's terms). One of the ways in which the new exam is performance based is the introduction of "drag and drop" questions. Generics. Scjp Mock Tests.