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

Answers were Sorted based on User's Feedback



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

Answer / prasad

Yes it is possible to write the Static Method in abstract
class
Ex:DriverManger.getConnection();

Is This Answer Correct ?    14 Yes 0 No

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

Answer / priyanjan

It is absolutely possible to write static method in
abstract class because static methods are class specific
not object specific and they can with name of class.

Is This Answer Correct ?    10 Yes 0 No

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

Answer / n sridhar reddy

ya we can write static method in abstract class

Is This Answer Correct ?    6 Yes 1 No

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

Answer / 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

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

Answer / shan

DriverManager is not n abstract class.
Static for class scope stands in as an answer

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Difference between nested and inner classes ?

0 Answers  


How do I write a self declaration?

0 Answers  


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

6 Answers   HP, SparkTG,


Is vector synchronized in java?

0 Answers  


How does class forname work in java?

0 Answers  






how to call One constructor from another;

10 Answers   Innodata Isogen,


What are the four pillars of java?

0 Answers  


What are the 2 types of java programs?

0 Answers  


What is the difference between yielding and sleeping?

0 Answers  


What are daemon Threads in java?

0 Answers   Impetus,


Is array passed by reference in java?

0 Answers  


What are the types of inner classes (non-static nested class) used in java?

0 Answers  


Categories