aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Seeking Exam Advise Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Seeking Exam Advise" Watch "Seeking Exam Advise" New topic
Author

Seeking Exam Advise

Kaur Manpreet
Ranch Hand

Joined: Feb 14, 2012
Posts: 30

Hi All,

I have been preparing for the OCPJP exam for the past 3 months. I have scheduled my exam (its within one week from now) but I am really worried I have followed SCJP Preparation book by K&B and I believe I understood the basic concepts underlined in the book.

I am taking the simulated exams from ExamLab and the score is really poor I have also followed the OCP Exam Preparation and there as well the score is just the same 50% only

Please advise.

Thanks
Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1456
    
    5

Hi Kaur Manpreet,

There's a dedicated forum for SCJP preperation/doubts etc. You will get better help there.

Also, it would helpful if you provided further details like in which areas you are scoring low? or what type of problems?

It is very important to understand exact type of problem in SCJP/OCP. e.g. a code snippet with couple of synchronized blocks might fail due to absence of a semicolon etc.

All the best.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
Anayonkar Shivalkar wrote: . . . There's a dedicated forum for SCJP preperation/doubts etc. You will get better help there. . . .
Agree. I shall move this discussion thither.
Kaur Manpreet
Ranch Hand

Joined: Feb 14, 2012
Posts: 30

My weaknes is that I forget things too quickly... I can understand them well ... write programs with no problem.... I have practiced mainly on IDE... I have recently started practicising several programs without the help of IDE and there seem to be several exceptions and errors that I encountered and understood during that time.

Especially on the formatting and exceptions, I get confused when its time to decide between compile time error or run time exception

But thankyou all, I will refer to the appropriate forum
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
It is probably not a good idea to practise on IDEs; they are intended for rapid development, not for learning. It is only practice that will enable you to remember things.
I don’t understand what you said about exceptions and compile-time errors.
Kaur Manpreet
Ranch Hand

Joined: Feb 14, 2012
Posts: 30

I am actually bad at anwering questions when there are two options compile time error or exception would be thrown at runtime.

I get confused as to when would this be reported. I had a tough time understanding the ClassCastException thrown at runtime and inconvertible types compile time error.
Thanks

Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1456
    
    5

Kaur Manpreet wrote:I had a tough time understanding the ClassCastException thrown at runtime and inconvertible types compile time error.

Well, it is not much difficult to identify if you understand inheritance hierarchy.

Inconvertible compile time error occurs when compiler knows for sure that type of the references are not convertible at all. ClassCastException occurs when casting of references is possible, but at runtime, actual objects are not convertible.
e.g.

This happens because, at line 7, compiler knows that d is a reference of type Dog, and there's no way that it can refer to a Cat object, so, at compile time itself, there is an inconvertible type error.
But at line 9, animal is a reference of type Animal, and there is a chance that it can refer to either Animal, Cat or Dog object. So, compiler doesn't complain about this casting. But at runtime, animal is actually referring to a Cat object, which cannot be converted to Dog object(or, to be specific, a reference of type Dog cannot refer to Cat object), and hence, there is a ClassCastException.

I hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Seeking Exam Advise
 
Similar Threads
Passed ....It was very close
Passed!
Cleared SCWCD - Youngest SCWCD
Exam this week
Passed