Wed Oct 22, 2008 4:49 pm
Can anybody let me know the answer for following question.
CAn we override static methods?
If not why?
Wed Oct 22, 2008 4:52 pm
Static methods cant be overriden they can only be hidden becz, static
methods are are associated with the class not with the objects. Static
methods are implicitly "final", because overriding is only done based on the
type of the objects.
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.