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 / chak de

Static Methods are NOT inherited.

Keep it in Mind. that's it.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats the difference between notify() and notifyall()?

564


What are exception handling keywords in java?

603


What are the steps in the jdbc connection?

572


What is singleton math?

571


What is set and get methods in java?

539






When we serialize an object does the serialization mechanism saves its references too?

503


How to display names of all components in a Container?

2488


How many decimal digits is 64 bit?

531


How do you control extraneous variables?

501


Which containers use a flowlayout as their default layout in java programming?

504


Why does java not allow multiple public classes in a java file ?

3438


Is age discrete or continuous?

684


Can we override constructors?

541


What is the public method modifier?

540


Can a static class have a constructor?

515