Is there any use of an abstract class which has no methods
and no attributes?



Is there any use of an abstract class which has no methods and no attributes?..

Answer / amit2009mca

i think no use of that
we use some marker interface instead of Abstart class which
have no method and no attributes
like Cloneable And Serializable
if any one other thing then mail me.
Amit singh09 amitsing2008@gmail.com

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

Explain about narrowing conversion in java?

0 Answers  


What is emant by API? is it related to java only or it is common for all OOPS supporting language?

3 Answers  


Is there any difference between synchronized methods and synchronized statements?

0 Answers  


When we r go to abstract class and when we go to Interface? i have confusion this question while in interview plz clarify

3 Answers   HCL, Photon,


What two classes are used to read data only?

0 Answers   TryTechnicals Pvt Ltd,






What is the difference between final, finally and finalize() in java?

0 Answers  


Is passing by reference faster?

0 Answers  


What is t in generics in java?

0 Answers  


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

0 Answers   Amdocs,


What is an anonymous class?

1 Answers   IBM,


Why do we need main method to execute a java program?

1 Answers   Virtusa,


what is collatration?

0 Answers  


Categories