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

Which keyword specify that a variable is effectively final ?

0 Answers  


java Technical questions asked by JPMC

0 Answers   JPMorgan Chase,


Can you declare an interface method static?

0 Answers  


In how many ways we can do exception handling in java?

0 Answers  


What environment variables do I need to set on my machine in order to be able to run java programs?

0 Answers  






what is the difference between System.exit() and System.exit(1)?

1 Answers   eClinical Solutions, eClinical Works, eClinicalWorks,


What is independent and dependent variables in research?

0 Answers  


What methodology can be employed to locate substrings inside a string?

0 Answers  


Where are global variables stored?

0 Answers  


Convert a BST into a DLL and DLL to BST in place.

0 Answers   Amazon,


What is the difference between a break statement and a continue statement?

0 Answers  


How many classes can any class inherit java?

0 Answers  


Categories