Is it possible to write static method in abstract class?
justyfy your answer?

Answer Posted / krishna

Yes it is possible to write the Static Method in abstract
class, why because every static method loads when the class
is executed all the static members of a class is executed.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you tell me range of byte?

561


How do you check if a string is lexicographically in java?

503


Explain the advantages of packages in java?

517


How do you use compareto in java?

561


What is the static keyword?

592






Explain the difference between abstract classes and interfaces in java?

600


What is jvm? How its run?

664


What is arraylist class in java?

515


What is package private scope in java?

535


What is Gang of four design patterns

596


How dead lock situation occurs in java and how you can identify it?

544


Can we have try without catch block?

645


What are the differences between path and classpath variables?

497


What is difference between an object and a class?

615


What is a 16 bit word?

567