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
What is the argument type of a programs main() method?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
Define the remote object implementation?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What are the different algorithms used for clustering?
Explain the advantages and disadvantages of detached objects.
What is the purpose of the notifyall() method?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
What is an abstract method?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
How are the elements of a cardlayout organized?
What is the relationship between local interfaces and container-managed relationships?
How a component can be placed on Windows?
Can constructors be synchronized in java?