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

Explain the importance of import keyword in java?

791


Give a practical example of singleton class usage?

806


What is the difference between a local variable and an instance variable?

791


Can finally block be used without a catch?

762


What do you mean by JVM?

833


What are constants and how to create constants in java?

773


How does hashmap work in java ?

772


What is the use of string and stringbuffer?

790


What are sets in java?

747


What is size () in java?

859


What is io stream in java?

765


What is the point of java?

808


Can a static method be overridden in java?

778


How will you load a specific locale?

762


What is the difference between an interface and an abstract class?

781