can a static method be overridden
Answer Posted / twinkle
no static methods cannot be overridden
but can be overloaded
for example in servlets,
Connection con=DriverManager.getConnection
(url,username,password);for all databases like oracle etc..
it can be overloaded as
Connection con=DriverManager.getConnection(url);//for MS
Access
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Should synchronization primitives be used on bean methods?
What is chat area? Explain.
What is the map interface?
whats is statement and procedure
Can we sent objects using Sockets?
What is the relationship between an event-listener interface and an event-adapter class?
What is threadfactory?
What is the purpose of the notify() method?
how to use debug in my elipse to solve problems that exist in my project
Which class is the immediate superclass of the menucomponent class?
To identify IDL language what mapping mechanism is used?
Is a class a subclass of itself?
What happens when a thread cannot acquire a lock on an object?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
What is JTS?