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


Please Help Members By Posting Answers For Below Questions

Are we allowed to change the transaction isolation property in middle of a transaction?

579


What is the relationship between local interfaces and container-managed relationships?

602


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

594


What is abstract schema?

561


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

3471






What modifiers may be used with an inner class that is a member of an outer class?

584


Why are some of the class and element names counter-intuitive?

581


What restrictions are placed on the location of a package statement within a source code file?

627


How a component can be placed on Windows?

2278


How primary key is implemented in Oracle?

1929


Write a singleton program?

582


What is the purpose of the finally clause of a try-catch-finally statement?

571


Which container method is used to cause a container to be laid out and redisplayed?

673


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1119


Explain the advantages and disadvantages of detached objects.

583