Bernhard Goetz

Ranch Hand
+ Follow
since Jan 07, 2013
Bernhard likes ...
Netbeans IDE Oracle Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
16
Received in last 30 days
0
Total given
54
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bernhard Goetz

Hi,
Seems like this post would fit into the "Distributed Java" forum. Can a mod move this?

Regards, Bernhard
Wow, this is awesome! I'll do this right now! Thank you so much in advance!
Hi there,
I know I'm a little late to the party but is there any way to view a sample of the study guide for 1Z0-810 (upgrade ocp 7 to ocp 8)?
Do you think I can rely on the study guide and the mock exams to finish the real exam? I'm considering to buy the study plan since it seems to be one of the rare offers currently available and also the price is nice

Best regards,
Bernhard
Hi there,
passed it yesterday with 83%.

The preceding experience was horrible 30 minutes before the exam I arrived at the test center. I was welcomed by confused people who obviously weren't expecting me:
"An exam? Seriously? Today?" ... "Oh no, she is on vacation today." "Noone told us..." Turned out the only person who knew how to setup a pearson test was on vacation. So I was waiting while the staff was trying to figure out how to do it themselves. Took them a good hour. Finally I could write my test and everyone was happy *phew*

My recommended way of learning:
  • Get enthuware and do the first test without learning. If you score just 30% or less, don't worry. This is just to get a sense for how deep you have to dive into the topics. There are enough remaining tests to check your level of preparation. Flash card learning is an efficient way to learn and will save you a lot of time!
  • Get K&B 7: Read it chapter by chapter.
    -> While reading create flash cards for the Leitner system (Important constructors, methods with arguments and return types; exam notes; important concepts to know; packages and their classes);
    -> Write simple test code for every concept in the book (e.g. EnumTest.java, ScannerTest.java, EnumTest2.java ...). It is of great help to NOT use an IDE. This will implicitly teach you the packages and will make you a much more careful sourcecode-reader which is important for the exam! Use notepad and the command-line to compile and run your java code. Use javadoc (e.g. java.lang.String) to find classes and methods.
    -> Do the self test at the end of the chapter and also create flash cards from important points you missed while reading the chapter (Pitfalls!)
    -> Install a derby or oracle express database to write test code for the last chapter (Connect java with a database := JDBC).
  • Do some learning cycles with your flash cards. You can also start learning your existent flashcards before finishing the book. Try to get all flash cards at least out of the first Leitner box before you proceed
  • Mock exam time:
    -> Start with the two from the downloadable content from the K&B 7.
    -> Followup with the remaining 8 from enthuware (including the last day)
    -> After each test do a complete review of all questions (incorrectly AND correctly answers) and add new concepts or pitfalls to your flash card box 1. If a concept was already existent in a higher Leitner box, return it to box 1.
    -> If you feel uncomfortable with a specific topic reread the passages in K&B 7.
  • After you finished learning with your flash cards you should be ready to go for the exam.


  • Pricing: Enthuware mock exams ~ 10$, K&B 7 ~ 37$

    Read other posts from people in this forum who finished this exam. They all love to share their way of learning and you can cherry pick the way that suits you most.

    Best regards,
    Bernhard
    8 years ago
    Hi Alok,
    congratulations on your certificate!

    Did you have the 65 question exam or the 90+ question exam?

    Regards, Bernhard
    8 years ago
    Hi Utkarsh (is this your first name?),

    If you go for OC A/P 8 you will have problems finding study material apart from oracles tutorials and the language specification Maybe someone else knows more? There are mock exams from enthuware for the Associate but not for the Professional Exam.
    Also I belive OCP 8 is still in beta, but I'm not sure about this. See this link on the oracle website.

    If you go for OCA/P 7 you won't lose anything imo since you then only have to do the upgrade exam to get the OCP 8. That's the way I'm going for.

    If you go with the newest exam you can still use your book as paper weight

    Regards,
    Bernhard
    Calling populate does not change the output. absolute(-1) still returns 0. Also setting the ResultSet's type for the statement to ResultSet.TYPE_SCROLL_SENSITIVE does not change the ouput.


    If I create an OracleCachedRowSet explicitly it works:


    Thanks for the help!
    Bernhard
    Hi,
    check out the Java Tutorial about this topic (Guarded Blocks). Concurrency is a complex topic in general. If you are overwhelmed try to begin the tutorial trail about concurrency from the beginning.

    Regards,
    Bernhard
    Hi there,
    the following test code:


    The table customer contains four entries. The program returns:

    first: 1
    absolute 1: 1
    last: 4
    absolute -1: 0



    Reading the api of absolute:

    For example, calling the method absolute(-1) positions the cursor on the last row; (...)
    Note: Calling absolute(1) is the same as calling first(). Calling absolute(-1) is the same as calling last().



    Is there anything wrong with my program? I'd would expect absolute(-1) to return 4 instead of zero.

    Regards, Bernhard
    Hm, that's odd. Even when I click on "Preview Current Issue" I get an error message.

    But I can create a link to share with a "friend". So here it is. Maybe this works?
    Hi there,
    I just want to inform you that the current issue of the Java Magazine contains a small article with some (4) trick questions for/from 1ZO-808 (OCA Java 8).

    You may have to log in to your oracle account to access the content.

    Regards,
    Bernhard
    Hi Thomas,
    did you try to run your code?

    Regards, Bernhard

    Sander Theetaert wrote:Chapter 13, p 778 (question 15)
    so "yo dude dude yo" in answer F should be "yo dude yo yo"



    Hi Sander,
    Answer F is correct as well as yours: With fragment I, the output could be yo dude dude yo.

    There are in fact several different variations of output:
    - There are at least two "yo"s.
    - The order of the different tokens is not guaranteed.

    Regards,
    Bernhard
    Chapter 8, "The Date Class", Table 8-1, Page 421, Use Case #3 - Steps: