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

What is numeric data type?

0 Answers  


What are scriptlets?

0 Answers  


What do you mean by byte code?

0 Answers  


Can size_t be negative?

0 Answers  


What is difference between this and super keyword?

0 Answers  






how exactly garbage collection take place?

4 Answers  


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

0 Answers   Akamai Technologies,


What is the meaning of course?

0 Answers  


What is the default modifier in Interface?

5 Answers  


What is the benefit of inner / nested classes ?

0 Answers  


why the constructor should be used in class,if there is no constructor what will happen?

4 Answers  


Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target

7 Answers   Infosys, WW,


Categories