difference between Abstract and Interface?
Answer Posted / kumar rk
interface
---------
in java interfaces are fully unimplemented structures.
here all methods are public and abstract by default(added by compiler)
abstract class
--------------
abstract classes are partially implemented structure.
means it can have abstract method or may be not.
but in every case object cannot be created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are enterprise beans allowed to use thread.sleep()?
What is an abstract method?
Difference between swing and awt?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
What must a class do to implement an interface?
When is the best time to validate input?
How task's priority is used in scheduling?
What is the difference between system.out ,system.err and system.in?
What is meant by method chaining?
What is the relationship between the canvas class and the graphics class?
What is JTS?
What are the steps to write p-to-p model application?
Which are the different segments of memory?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
what is meant by JRMP?