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


Please Help Members By Posting Answers For Below Questions

Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

601


What if I write static public void instead of public static void in java?

565


What programs use java?

460


What is an infinite loop? How infinite loop is declared?

556


What is a linkedhashmap java?

537






In java, how we can disallow serialization of variables?

540


What is string literal in java?

543


Explain about class in java?

599


What is use of set in java?

478


What is boolean false?

511


What is the relationship difference the canvas class and the graphics class?

549


Explain the private protected method modifier?

532


Can we have multiple classes in a single file?

499


Can an interface extend another interface?

580


Explain the difference between extends thread vs implements runnable in java?

523