Can i have abstract class with no abstract methods?

Answer Posted / m.ahmad

yes, you can create abstract class with out abstract
method. Otherwise you can create abstract methos in
abstract class must you can overwrite in extends class

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

518


Explain polymorphism citing an example.

592


What is diamond operator in java?

503


Why should I use abstract class?

570


What is flag in java?

535






What does those terms actually mean included in the j.d.k i.6?

1605


How to create a custom exception?

574


What is the purpose of finalization in java programming?

564


What is reflexive association?

1011


What is join () in java?

530


Why do we need autoboxing in java?

520


Can we declare the static variables and methods in an abstract class?

548


What is a loop java?

587


What is an association?

549


Does garbage collection occur in permanent generation space in jvm?

611