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

When is the finally clause of a try-catch-finally statement executed?

0 Answers  


How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?

5 Answers  


i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance

2 Answers  


Why java is object oriented?

0 Answers  


Is stringwriter thread safe?

0 Answers  






What is default exception handling in java?

0 Answers  


Why we use protected in java?

0 Answers  


what is the diff between Servletcontext and servletconfig?

5 Answers  


What are user defined exceptions?

0 Answers  


Can we iterate through collection using for loop?

2 Answers   Rolta,


What is a hashmap used for?

0 Answers  


how to write a program for sending mails between client and server

0 Answers   Lampex,


Categories