what is difference between abstract and interface?
can i give real time example for the two topics?
Answer Posted / richa
abstract class can have some concrete methods and abstract
methods too.abstract class can use accessibility modifier
in abstract class.
but in interface all the method are abstract.In interface
no accessibility modifier is allowed by default it takes
public access modifier.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Which eclipse is best for java?
What access modifiers can be used for variables?
What is the byte range?
Explain creating threads by extending thread class ?
What is Mutex (Mutual Exclusion Object) ?
What are examples of modifiers?
What is meant by attribute?
What do you mean by pointer value and address?
Why string is called as immutable?
Why does java have two ways to create child threads? Which way is better?
What is private static in java?
Can java arraylist hold different types?
What is the major advantage of external iteration over internal iteration?
What is bufferedwriter?
What does n mean?