what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / prabir kumar
1) Classes can implements any no. of interfaces, but
extends only one abstract class.
2) interfaces can be best the choice when your program need
some global variables.
| Is This Answer Correct ? | 24 Yes | 8 No |
Post New Answer View All Answers
What is bubble sort in java?
How can you set the applet size?
What is string length in java?
Can an unreferenced object be referenced again?
What do you mean by append?
Write a program to print fibonacci series
Give us a program to check for parenthesis matching using stack.
What are design patterns and please explain?
How does hashmap work in java ?
Explain about member inner classes?
What are the features of junit?
Can we define constructor in inner class?
What is method with example?
What is a website container?
What is immutable state?