can a static method be overridden
Answer Posted / srinivas katta
Hi, Aswini ur program is wrong, there is no relation btween
cal methods in ur program, overriding means there must be
same no of arguments,there is a change in no of argumetns
in ur program.
static methods can not be overridden
ex:
main method is static, we can overload it but we can not
override it.
| Is This Answer Correct ? | 27 Yes | 5 No |
Post New Answer View All Answers
Can I run seam with jdk 1.4 and earlier?
Is infobus easy to use?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
How task's priority is used in scheduling?
Do I have to use jsps with my application?
How are commas used in the intialization and iteration parts of a for statement?
What is the RMI and Socket?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
Is “abc” a primitive value?
What is scalable, portability in the view of J2EE?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What are callback interfaces?
Explain ioc concept?
Why does the tag url-encode javascript and mailto links?
What is the difference between java class and bean?