can a static method be overridden

Answer Posted / rrr

Static methods cannot be overridden
Static methods can only be hidden
Instance method call binding is done as per the object's type
Static methods call binding is done as per the reference's
type( regardless of whether it contains an object of a
subclass or not), quite similar to field binding.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass parameters in RMI?

1699


the same information whether it will connect to the database or it will be used previous information?

581


What is the difference between a menuitem and a checkboxmenuitem?

597


Brief description about local interfaces?

640


What is the difference between the ‘font’ and ‘fontmetrics’ class?

651






Name three component subclasses that support painting?

624


How would you create a button with rounded edges?

566


what is a non-repeatable read?

1836


Java is fully object oriented languages or not?

552


When is the best time to validate input?

616


What is the diffrence between a local-tx-datasource and a xa-datasource?

590


which book is better for jdbc ,servlets and jsp

1652


Describe, in general, how java's garbage collector works?

548


What are the different methods of identifying an object?

583


What is threadfactory?

623