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
What is a class loader?
What is mdb and what is the special feature of that?
How a component can be placed on Windows?
Explain how will the struts know which action class to call when you submit a form?
Which textcomponent method is used to set a textcomponent to the read-only state?
What is difference between object state and behavior?
Is the ternary operator written x : y ? Z or x ? Y : z ?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What do you mean by Socket Programming?
What is aop(assepct oriented programing)?
What is permgen or permanent generation?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Do I have to use jsps with my application?
Is jvm a overhead?
Should synchronization primitives be used on bean methods?