Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Is a string literal?

0 Answers  


Explain different data types in Java.

5 Answers  


What is Java exception handling?

1 Answers  


what is diffrence between .NET and java?

2 Answers  


What is meant by Java ?

2 Answers   CMC, Infosys,


When should I use a singleton?

0 Answers  


How to check if linked list contains loop in java?

0 Answers  


Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.

2 Answers  


What is the preferred size of a component?

3 Answers   ITSA,


There are 2 methods in a class. Both have the same method signature except for return types. Is this overloading or overriding or what is it?

9 Answers   KPIT,


Can we access the non-final local variable, inside the local inner class?

0 Answers  


Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

0 Answers   Fidelity,


Categories