what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / rashmi kalra
1. Abstract classes may have concrete methods while
interfaces have no methods implemented.
2. Interfaces do not come in inheriting chain while
abstract class come in inheritance.
Is This Answer Correct ? | 20 Yes | 6 No |
Post New Answer View All Answers
When do I need to use reflection feature in java?
What are the types of methods in java?
What is variable in java?
Does java vector allow null?
Is singleton class thread safe?
What is method and methodology?
What is void keyword?
Where will it be used?
What are default methods ?
What is ph and buffers?
How is tree Mirroring implemented?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is the concatenation operator in java?
Where is java located?
If system.exit (0); is written at the end of the try block, will the finally block still execute?