Can we override static methods?
Answer Posted / neha jain
yes we can override static method but can not overload that
is called method hiding nt overloading.
| Is This Answer Correct ? | 3 Yes | 17 No |
Post New Answer View All Answers
Which is better stringbuilder or stringbuffer?
How to do a true java ping from windows?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
Explain the difference between serializable and externalizable in java?
Can we serialize singleton class?
What is the function of http?
How to solve the problem of generating the unique hash keys with hash function?
What will be the default values of all the elements of an array defined as an instance variable?
How do you invoke a method?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
What is a parameter in java?
Does the order of public and static declaration matter in main method?
What is connection class in java?
Can we use both this () and super () in a constructor?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?