Bear Bibeault wrote:P.S. In a JSP you would use <c:url>, not Java code,
Gob Bluth wrote:
Is everything from the constructor down (in the class) and Shirt.oneShirt (in the main) just a waste of time?
R. Jain wrote:Please don't edit your answer after you've posted it. Not at least after 10 minutes. It makes the following answer absurd, like it did just now.
Myke Enriq wrote:I am glad that you did not hurry and made the right choice. In the end the goal is to learn as much Java as possible, not a diploma.
As for last week advice, I am not qualified to give any, as at the moment I am studying myself for this exam.
Having said that, one good thing that I did for the OCA exam was to solve the enthuware mock exams in the week before the exam, so that I remembered the questions and answers.
Plus I had read the SCJP 6 K&B book twice before I took the exam.
Could you please tell us what books have you used to study for OCP ?
R. Jain wrote:
Abhishek KumarSoni wrote:On my part the reason of compilation fail will be due to generic variable Integer.But i want to ask why?
Yeah you're right. It's due to that. Why? Ok, think of when is the instanceof check done - a). At compile time, b). At runtime.
Once you understand this, then go back and see your previous question. Try to relate the answer there, and the reason you just posted. You'll get the answer.