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 |
Is a string literal?
Explain different data types in Java.
What is Java exception handling?
what is diffrence between .NET and java?
What is meant by Java ?
When should I use a singleton?
How to check if linked list contains loop in java?
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.
What is the preferred size of a component?
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?
Can we access the non-final local variable, inside the local inner class?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.