Welcome to CodeRanch Sajjad.
I hope that you find the community here knowledgeable, welcoming and helpful.
Sajjad Sohail Mohammed wrote:I am planning to take OCJP test. Which one is recommended to take first? I have not taken any of the exam before.
While may be able to take the OCP 809 test before you take the OCA 808 test you will not get your certificate until you complete the OCA 808 test.
Not only that the OCP 809 test is considered more difficult then the OCA 808 test by most people. I would therefore recommend that you go for the OCA 808 test.
As to what books and resources to you? I strongly suggest that you check out the Wall Of Fame postings found here:
https://coderanch.com/wiki/659980/Ocajp-Wall-Famehttps://coderanch.com/wiki/659976/Ocpjp-Wall-Fame In reading people's stories you can see what resources they used and how they prepared. This could save you time, money and frustration.
I would also recommend that you go for the
Java 8 exams instead of the Java 7 exams.
While studying
you should be writing many small programs, maybe 30-50 lines, to cement concepts.
Plus, you should not be using any IDEs while preparing, but instead using something like NotePad++, Subline, or VIM, which are all generic editors.
Finally, if you have any questions about any of the questions that you come across while preparing post them on this site.
There are many people on this site who are very well versed in Java and they can usually explain both the question and the answer in detail.
Also a few study guide authors frequent this site and they can usually put the question into full and proper context.
However, please remember that when posting questions to this site to quote your sources so that this site does not break any copyright laws and to allow everyone else to put the questions in correct context.