Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!

Paul Anilprem

Enthuware Software Support
+ Follow
since Sep 23, 2000
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads

Recent posts by Paul Anilprem

Congratulations, Martijn!
Yes, online proctored exam can be challenging in some cases. Glad to hear that it is over for you with you passing the exam  

Sanjela garg wrote:
My question is , from Enthuware do  i just need to purchase  the Oracle Certified OCA Java 8 1Z0-808 Mock Exams Practice Tests/Questions

Yes, that's the one.

Sanjela garg wrote:
Is this the complete kit or is there any other set of question banks too.

Yes, this is the complete kit. There is no additional question bank.

Sanjela garg wrote:
And can any one give me a rough idea how long does it roughly takes to prepare and finish Enthuware Mock Exams.

Preparation time varies a lot. Some users take just 2-3 mock tests and feel ready. While others take the whole set of 8 tests multiple times.
We recommend that you take one test a day and go through the explanations of all the questions. Spend the next day studying topics on which you scored less. Move to the next test only after you are comfortable with those topics. You will know where you stand after a couple of tests.

Anu Pasyavala wrote:.
How can I work on timing and not getting nervous? (I time myself when I am taking practice tests. not enough)

If you feel you know the concepts well and are just bad at taking tests, then all you need is practice. Take as many mock exams as possible and time yourself strictly. Try to simulate the test environment at home while taking the mock tests.

Reading other peoples' code gets easier when you are in the habit of coding simple programs. The more code you write, the more comfortable you get reading any piece of code.
Congratulations!! 816 is a lot tougher than 815, so, 88% is actually a very good score on this exam.
thanks for sharing your experience. We are happy to know that our material was helpful in your preparation

Robin Louis wrote:Thanks for the answer, not every question will be an indentation trick tho, right ?

No, not every question but you won't know which one is trying to trip you on that. Mostly, the if/else questions is where you have to be more careful.

Because every question in a book i'm reading just omits indentation, like the following question

If it is an ebook, it could be a formatting issue with the book or the ebook reader s/w. Which book is it?
Congratulations, Pablo! Great score!!
That's right. It returns a Collection and not a Set. Mentioned in the JavaDoc as well.
You might want to check the errata for the book though as it might already be listed there.

Sam Soltani wrote:Thanks for the reply. I wish I paid more attention to different path. What I only had in mind was taking an up-to-date exam and didn't know it. I don't think by PearsonVue I have the option of changing or deleting and be eligible for a refund.

You can cancel the exam 24 hrs before the scheduled time. You can then use the same voucher to schedule a different exam. Whether you should do that or not is something that only you can decide, but it is possible.

Sam Soltani wrote:
Another thing that bothers me is the thought that Microservices and frameworks like spring boot being so damn popular and which I like to take eventually, the question that "is it needed and beneficial to master modularity at class level now that microservices which is a architectural style whatever the language, is a hot topic or maybe de facto standard of how we are going to develop Enterprise Application or Java creators are really into something by introducing Modularity in Java 9?

Yes, microservices, spring etc. are important if you are looking for a job. Modules, not as much but that is my personal subjective opinion. Some may find modules to be more important than other things.

Sam Soltani wrote:Hello,

yesterday i signed up for OCA 11 and although I knew the added concepts at the time of signed up, I came across some guys online that told me that it is a complete different animal compared to OCA 8. Not being a full time developer and early on the road, I don't know if I should prepare for OCA 11 now that I paid and signed up for it or take OCA 8 to get me at the door at companies in few months time, rather than risking failing miserably and face the music. I appreciate your insights.


The most important factor for beginners and job aspirant here is how soon they can put a well known credential on their resume. Since Oracle has scrapped the OCA certificate for Java 11, OCA 8 + OCP 11 Part 2 is a better option.

As far as differences in OCA 8 and OCP Java 11 Part 1 exams are concerned, some believe that OCA 8 is vastly easier than OCP Java 11 Part 1. We don't think so. In our experience, only the exam objectives are different but the level of the questions is about the same. OCA 8 was easier to pass because of availability of resources for this exam. But that factor is not there anymore. There are enough good quality resources for OCP Java 11 Part 1 exam as well now.

The only reason we recommend taking OCA 8 is because Oracle has allowed people who have passed OCA 8 to take OCP Java 11 Part 2 and achieve OCP Java 11 certification. So, you get two certifications for two exams.
Yes, you can get the new certifications for Java 8 and/or for Java 11. But I am not sure if the benefit will justify the cost ($250+ for two exams) of taking the new exams for you, given that you are already certified. If you want to be current on the updates and really want to make sure that you know your stuff well, a cheaper and better alternative would be to take good quality mock exams. Attempt the mock exams as if you are taking a real exam.

Once you do the above, you may take the advanced level certification such as Java EE 7 Application Developer 1Z0-900. That will be more useful for you, IMHO.
Please mention book details.

The question is badly worded because it is not clear what they mean by equal. == or equals and also because of the point illustrated by Mike in the post above.

Don't spend too much time thinking about it.
If you got an average of 82% in first attempt (i.e. you had not seen/attempted the questions before), then it is good. You can take the exam  
Technically, if you have already passed SCJP 6, you are eligible to take the OCP Java 11 upgrade exam 1Z0-817. This exam is substantially easier than the full blown OCP Java 11 Part 2 (1Z0-816) exam.
But you will have to prepare for it without a book because there are no books for it at the moment. (We have mock exams for it though).

If you don't want to learn Java 11 stuff, you can also go for OCA JP 8 1Z0-808 and then OCP JP 8 1Z0-809.

See this page for details for various options.

henry leu wrote:
If obj1 should APPEAR BEFORE obj2 in a sorted list, then we return a negative number. (No swap)
If obj1 should APPEAR AFTER obj2 in a sorted list, then we return a positive number. (Swap)
If we don't care which object comes first (because they might be equal), then we return zero. (no swap)


Piet Souris wrote:
Sorting is always in ascending order, from "small" to "large". But what is small and what is large is defined by the compareTo or the compare method.

By that logic, one could as easily say that Sorting is always in descending order, from "large" to "small"!

The fact is that this has nothing to do with large or small. A Comparator orders two elements x, y in that order if x-y is <=0 (this implies that it orders them as y, x if x-y>0). In practice, x and y are generated using some property of the objects that you want to compare. In case of numeric values, x and y are same as the items that are being compared. One can certainly implement a Comparator that doesn't follow this rule and provides a different way of ordering two items.

If you apply the Comparator in question (  (i1, i2) -> i1 - i2 ),  to any pair of numbers (for example, (4, 3) or (3 , 4) ), they will be ordered as 3, 4. That means, to us humans, the numbers are being ordered in "ascending" order. So, the book is correct but may be the explanation can be made clearer.