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
Can I map more than one table in a cmp?
What are the different types of exception?
Which component handles cluster communication in jboss?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
How to determine SGA site?
When is the best time to validate input?
How a component can be placed on Windows?
What you mean by COM and DCOM?
How task's priority is used in scheduling?
What is a clone?
What is local interface. How values will be passed?
How to implement RMI in Java?
If your ui seems to freeze periodically, what might be a likely reason?
What is in-memory replication?
Where we can write Rmi registry in the code, without having to write it at the command prompt?