Paul Anilprem

Enthuware Software Support
+ Follow
since Sep 23, 2000
Cows and Likes
Cows
Total received
39
In last 30 days
0
Total given
2
Likes
Total received
410
Received in last 30 days
8
Total given
87
Given in last 30 days
5
Forums and Threads

Recent posts by Paul Anilprem

Edmund Yong wrote:

Paul Anilprem wrote:

Yes, it is through Oracle testing id. Oracle has all the details about your previous test history (including the ones you took when Java was with Sun). In fact, if you try to register a new account (with same name and other details), Oracle tries to merge the new account with the old one automatically (but don't rely on that). It is better to contact Oracle support directly and ask for your Oracle testing id.  They will provide you the id using your details. They may also ask you to create a new ID and then attach your old Sun test history with that new ID. You can use that ID to schedule the exam with Pearson vue.


Hi Paul,

According to what Jeanne replied previously, our Sun certification results and personal details would not be ported over to Oracle. So it is quite a surprise to me now that you are saying the opposite.

My last Sun certification was taken in 2005. I create an Oracle account using my email address only in 2016, so I'm sure that this has nothing related to the Oracle Testing ID then.



They had my SCJP 1.2 certificate. May be they changed their policy now. Either way, better to call them up.

Edmund Yong wrote:Hi Jeanne,

I bought your new book a few days ago, and I have already started reading it.

I am still not clear on the exam registration though. I have an existing Oracle account (using my personal e-mail ID) which I can use to download the SDK. In the Pearson VUE web site for Oracle, if I select "Sign In", and then "Create a web account" on the next page, I will be asked to fill in personal information on the next page. There is a field "Do you know your Oracle Testing ID?". What is this Oracle Testing ID? Is this where I enter my e-mail ID for my existing Oracle account?

I am not clear on how they link the above Pearson VUE account to Oracle, so that exam results will be reflected on Oracle side. Is this through the Oracle Testing ID?



Yes, it is through Oracle testing id. Oracle has all the details about your previous test history (including the ones you took when Java was with Sun). In fact, if you try to register a new account (with same name and other details), Oracle tries to merge the new account with the old one automatically (but don't rely on that). It is better to contact Oracle support directly and ask for your Oracle testing id.  They will provide you the id using your details. They may also ask you to create a new ID and then attach your old Sun test history with that new ID. You can use that ID to schedule the exam with Pearson vue.

Campbell Ritchie wrote:

Paul Anilprem wrote:. . . an anonymous class that implements Sayble. . . .

If I write an anonymous class the old way, I get a class file called CampbellsClass$1.class or similar. I have never seen such a file if I use a λ, but you can see this sort of thing on JShell



That's a good point. JLS 11 Section 15.27.4 "Run-Time Evaluation of Lambda Expressions" , says, among other things:

...
The value of a lambda expression is a reference to an instance of a class with the following properties:
...


So, even though a lambda expression is converted to an instance of a class, it may not be the compiler that does this conversion!
MethodReference need not implement Sayable. Compiler will automatically create and instantiate an anonymous class that implements Sayble. Compiler will also implement the say method of that anonymous class on its own. Inside the method, it will put a call to MethodReference's saySomething.  So, the compiler will translate this line of code Sayable sayable = MethodReference::saySomething; to :


Sayable sayable = new Sayable(){
                                  public void say(){
                                        MethodReference.saySomething();
                                   }  };

Congratulations, R.J.!
Happy to know that our material was helpful in your preparation
My first certification was SCJP 1.2 and I can tell you that it helped me immensely at the beginning of my career.  Studying for the certification not only made me learn a lot of Java basics but it made me remember them by heart and that made sure I never tripped in technical interviews, no matter what trick the interviewer threw at me. You know how candidates hesitate with their answers...I never had that hesitation.

BTW, SCJP used to be really really hard because 1. No books. 2. No mock exams. 3. You had to select "all" correct answers (it didn't tell the number of correct answers.).
Hi Jeanne/Scott,
Congratulations on your new book again.
Other than the content of course, have you made any changes in the book such as style, new design elements, or something else? i.e. does the new book follow the same pattern as the previous one?

thank you,
Paul.
The exam objectives published by Oracle do not list every topic in detail. This poses a serious problem for content authors to keep the content aligned very closely with what is asked in the exam. In fact, the exam objectives of the OCP Java 11 exams are even more coarse grained than the previous version. They have omitted several topics that they mentioned explicitly in the objectives of the Java 8 exams. Since no one except Oracle knows exactly what all is covered, it is not really possible to provide exact i.e. nothing more and nothing less type of coverage of the exam.

Online mock exams and Print On Demand books that have a faster update cycle have an advantage here because they can modify content as and when information about the exam becomes available.

Scott Selikoff wrote:
The best advice I can offer you is this... assume at least one thing on the exam will surprise you but that it probably won’t matter.  My apologies to those who have failed by one point, but most people score with some buffer.  Of course nothing is stopping you from learning out of scope material.  We often include valuable things that we know are out of scope as side bars in our books.


This is definitely good advice. Having spent considerable amount of time here on coderanch, I have observed that some readers get very disturbed by seeing even a tiny bit of content that is seemingly out of scope. But better to know more than less, right?  
Here are a few:

The State of the Module System

The Modular JDK

The Java Platform Module System ( JSR 376)

All of the above are very informative, not too hard to understand, free, and cover all you need to know for both the certification exams (part 1 and 2)!
Congratulations Jeanne & Scott, for your new book release!

Henk Smit wrote:Hello all,

I'm currently doing the review questions on chapter 3: Generics and Collections in the study guide by Jeanne and Scott. In my IDE I'm experimenting with some code, inspired by the review questions from chapter 3 (mainly question 5 and 7). I can't figure out for the life of me why this code won't compile!



This generates:

Error:(6, 16) java: no suitable method found for add(java.lang.Integer)
   method java.util.Collection.add(capture#1 of ? extends java.lang.Number) is not applicable
     (argument mismatch; java.lang.Integer cannot be converted to capture#1 of ? extends java.lang.Number)
   method java.util.Set.add(capture#1 of ? extends java.lang.Number) is not applicable
     (argument mismatch; java.lang.Integer cannot be converted to capture#1 of ? extends java.lang.Number)

Can anyone give me some insight on what this means and if I should know this for the exam? Any help is appreciated!



"? extends Number" does not mean "any class that extends number". It means a specific but unknown class that extends Number. Thus, if you have a collection of "? extends Number" objects, you can't add an Integer to it because it is not necessarily a collection of Integers. But if you take something out of that collection you are sure that it is at least a Number.

gino quetua wrote:I am currenty SCJP for Java SE 6. It says here https://education.oracle.com/oracle-certified-professional-java-se-8-programmer/trackp_357 on Step 2 that I could take 1Z0-813 instead of 1Z0-808. My question is, if I take 1Z0-813 do I still have to take 1Z0-809?


No.
Since you have already spent time and have resources for OCAJP 8, you might be better off taking the OCAJP 8 exam (1Z0-808).

Yes, you can take OCP Java 11 Part 2 (1Z0-816) exam later after passing 1z0-808 exam to get your OCP Java 11 Developer certification.

Luciano Lopes wrote:Hello guys, I've seen some people here in the forum saying that the ideal is to reach at least 80% in simulated Enthuware. I would like to know if this information is valid and what other simulations I have to do in Enthuware. I am currently doing the "Objective-wise Tests". What other mock options do I have to do? And what are the levels?


Hi,
If you are using Objectivewise tests from the Enthuware simulator, you might want to check this out: https://enthuware.com/help/faq/112-gettingstarted/123-standard-tests-or-objective-wise-tests
and then this: https://enthuware.com/help/faq/112-gettingstarted/122-prepare-for-java-certification-using-enthuware

HTH,
Paul.