File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Thanks Ranchers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Thanks Ranchers" Watch "Thanks Ranchers" New topic

Thanks Ranchers

Saswata Sarkar

Joined: Jun 13, 2009
Posts: 5
Dear Ranchers,

Thanks for your prompt reply.

I am sorry if I was unable to express myself earlier, but as a matter of fact, while I was experimenting out with some code, I came across the problem, where instead of defining the constructor (of the superclass) as protected , I tried to use it from a subclass defined outside the package. And hence came across the compilation error. I tried with protected constructor, as defined, and was wondering whether my assumption was right or not.

Well thanks friends, I now got that fundamental cleared through your replies.

Thanks again.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

It would have been more appropriate to thank people in your original thread.

[My Blog]
All roads lead to JavaRanch
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Christophe Verré wrote:It would have been more appropriate to thank people in your original thread.

Thank you. I was scratching my head for a few seconds until I read your reply

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
It is sorta covered in the JavaRanch Style Guide.
subject: Thanks Ranchers
jQuery in Action, 3rd edition