In Inheritence concept, i have a static method in super
class and i am inheriting that class to one sub class.in
that case the static method is inherited to sub class or
not????
Answer Posted / sunitha
the static method will be inherited to teh sub class.only
fucntions declared as 'final' are not inherited
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
What is methods and methodology?
How do you check if a number is a perfect square?
How do you make a thread in java?
What is a protected method?
How to stop a thread in java? Explain about sleep () method in a thread?
In java how do we copy objects?
What is regex java?
What is the abstract class?
What is difference between printf and scanf?
Why main method is called first in java?
What is sortedset in java?
What is difference between classpath and path variables in java?
What is the difference between multitasking and multithreading in Java
What is the use of arraylist class in java?
Is it possible for a yielded thread to get chance for its execution again?