-Amit- Sharma

Greenhorn
+ Follow
since Sep 04, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by -Amit- Sharma

Thanks Matthew Brown
Here is my understanding
1) To achieve polymorphism we cannot compromise with checked exception handling rule. since checked exceptions are supposed to handled properly and if not should not surpass the compilation.
2) substitution principle
Question is we cannot use throws clause with overridden method definition if parent method does not have any. Why ?

class Parent
{
public void show()
{
}
}

class Child
{

public void show () throws IOException // this line will fail to compile
{
}

}

I was wondering how can we achieve this without touching base class's method, Since there is possibility that overridden method's implementation can throw checked exception and we don't want to handle in same method and want that to be thrown to calling method .

Second why this is not allowed?


Thanks .



I am also preparing for 1z-803 and using Enthuware studio for practical questions. I had not gone through all the questions and just finished few brainstorming mock tests, And found fascinating .
Can we expect questions from native, strictfp, transient, volatile in Associate Certification (OCAJP 7) ?
Thank You !!!
5 years ago
Hey congrats .

I am also planning for the same .

would you please suggest me apart from Finegan and Liguori and Enthuware what are other resorces i should go for ?



Thanks .
5 years ago
Thanks K . Tsang !

I am referring to below book.

http://www.amazon.com/Programmer-Study-1Z0-803-1Z0-804-Certification/dp/0071772006

As per my understanding, please correct me if i am wrong the above book covers all required topics for 1Z0-803 & 1Z0-804 and checked so many places but it's unavailable. http://www.developerfusion.com/book/122861/ocp-java-se-7-programmer-study-guide-certification-press covers only for 1Z0-803 .


Since i am plannig for both the certifications at one shot , so would http://www.developerfusion.com/book/122861/ocp-java-se-7-programmer-study-guide-certification-press be sufficient?

Thanks...



Can anyone please suggest me from where i can buy this book ?


I want to give Exams 1Z0-803 & 1Z0-804 and did little search on internet found most of sites are referring OCA/OCP Java SE 7 Programmer I & II Study Gide (Exams 1Z0-803 & 1Z0-804) is best for both exams preparation.

I had gone through OCA certification guide by Mala Gupta and now planning for Ethunware.

Could you please suggest path which i am following is correct?

Thanks in Advance