• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Specific questions such as the following in the OCPJP7

 
Ranch Hand
Posts: 226
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi James Peterson and everybody who has an understanding of the kind of questions related to the OCPJP7 with a knowledge over the 10 sample questions in the oracle website,

I wanted to know if the questions in the OCPJP7 could go as detailed as a question related to the following method:


writeObjectOverride

protected void writeObjectOverride(Object obj)
throws IOException

Method used by subclasses to override the default writeObject method. This method is called by trusted subclasses of ObjectInputStream that constructed ObjectInputStream using the protected no-arg constructor. The subclass is expected to provide an override method with the modifier "final".

Parameters:
obj - object to be written to the underlying stream
Throws:
IOException - if there are I/O errors while writing to the underlying stream



The above quote has been taken from this official API.

I am aware that Serialization is part of the exam topics, however I do not think, or at least I hope, that there will be such in-depth API knowledge related questions. Am I wrong?

Furthermore there are a set of Exception related to Serialization which might have been sparkled by ObjectOutputStream such as:


InvalidClassException, InvalidObjectException, NotActiveException, NotSerializableException, OptionalDataException, StreamCorruptedException, WriteAbortedException


Does the exam contemplate this in-depth API knowledge?

Thanks in advance.
 
Whizlabs Java Support
Posts: 158
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Nick,

First of all,Serialization is not part of OCPJP or OCAJP exam, but it was part of OCPJP 6, so I think there is possibility of appearing partly Serialization related question in OCPJP-upgrade (1Z0-805) exam.

About API knowledge, No Nick you won't able to remember every little detail there, for certification or the real life. But you must remember the important and related API details related to exam objectives. For example, you will have to remember all API details of Comparator and Comparable interface for the exam objective "Use java.util.Comparator and java.lang.Comparable" as there are not much in API.

If you consider the exam objective "Format dates, numbers, and currency values for localization with the NumberFormat and DateFormat classes (including number format patterns)" it will be really hard to remember all API details. In such a case you should try to remember API details which related to exam objective and also you can understand what method does from its name. And be careful to remember if any important method throws checked exception or not as it may be tested in the real exam (In our simulator questions, we do check this too ).

I would suggest you to use short notes or flash card for this.

Hope you find this reply helpful and if any more doubts, we are here to clear.
 
Nick Widelec
Ranch Hand
Posts: 226
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

James Peterson wrote:Hello Nick,

First of all,Serialization is not part of OCPJP or OCAJP exam, but it was part of OCPJP 6, so I think there is possibility of appearing partly Serialization related question in OCPJP-upgrade (1Z0-805) exam.

About API knowledge, No Nick you won't able to remember every little detail there, for certification or the real life. But you must remember the important and related API details related to exam objectives. For example, you will have to remember all API details of Comparator and Comparable interface for the exam objective "Use java.util.Comparator and java.lang.Comparable" as there are not much in API.

If you consider the exam objective "Format dates, numbers, and currency values for localization with the NumberFormat and DateFormat classes (including number format patterns)" it will be really hard to remember all API details. In such a case you should try to remember API details which related to exam objective and also you can understand what method does from its name. And be careful to remember if any important method throws checked exception or not as it may be tested in the real exam (In our simulator questions, we do check this too ).

I would suggest you to use short notes or flash card for this.

Hope you find this reply helpful and if any more doubts, we are here to clear.



Thanks a lot James.
And I heard also that there might be questions on the Calendar class which is not mentioned at all in the exam topics:

Localization

Read and set the locale by using the Locale object
Build a resource bundle for each locale
Call a resource bundle from an application
Format dates, numbers, and currency values for localization with the NumberFormat and DateFormat classes (including number format patterns)
Describe the advantages of localizing an application
Define a locale using language and country codes



Apparently there is no Calendar class.
 
We begin by testing your absorbancy by exposing you to this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic