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 / eswar
As per my knowledge static method can't be subclass and
override.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What if I write static public void instead of public static void in java?
What programs use java?
What is an infinite loop? How infinite loop is declared?
What is a linkedhashmap java?
In java, how we can disallow serialization of variables?
What is string literal in java?
Explain about class in java?
What is use of set in java?
What is boolean false?
What is the relationship difference the canvas class and the graphics class?
Explain the private protected method modifier?
Can we have multiple classes in a single file?
Can an interface extend another interface?
Explain the difference between extends thread vs implements runnable in java?