File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes re: rahul_mkar; protected variable... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "re: rahul_mkar; protected variable..." Watch "re: rahul_mkar; protected variable..." New topic
Author

re: rahul_mkar; protected variable...

zhewen
Ranch Hand

Joined: Jul 18, 2000
Posts: 35
haii rahl_mkar, thanks for the some answers, i don't really
understand the concept with protected etc...
In the page from Applied Reasoning, there is a statement:
button.enableEvents(AWTEvent.ACTION_EVENT_MASK) is wrong
because this method is protected, so can only be called by
a subclass.
Is this method not declared in Component Class, and Button
is a subclass of Component?
rgds
zhewen
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hi,
could u please elaborate.
regds.
Rahul
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: re: rahul_mkar; protected variable...
 
Similar Threads
Protected Behaviour
why al can't access protected removeRange()?
Abstract method query
Access Levels
confused