Can you override a private or static method in java?



Can you override a private or static method in java?..

Answer / siddu

Static is final method it can not be change or override inherited in another class

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

write a program to create an arraylist and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,


What is the difference between overriding and overloading in OOPS.

0 Answers   Axtria, ITC Indian Tobacco Company,


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

0 Answers  


Can a java program have 2 main methods?

0 Answers  


I want to persist data of objects for later use. What is the best approach to do so?

0 Answers  






Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.

5 Answers  


Explain different types of wrapper classes in java?

0 Answers  


Explain the difference between jdk, jre, and jvm?

0 Answers  


Which variables are stored in stack?

0 Answers  


What is sorting algorithm in java?

0 Answers  


What does int argc char * argv [] mean?

0 Answers  


Explain try and catch keywords in java?

0 Answers  


Categories