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
What is an example of character?
Describe the Big-O Notation.
What are autoboxing and unboxing? When does it occur?
What is Mutex (Mutual Exclusion Object) ?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What is console based application in java?
What's a method in programming?
What do you understand by garbage collection in Java? Can it be forced to run?
What do you mean by default constructor in java?
Write a program to check string is palindrome without using loop?
What is substring 1 in java?
What are the different collection views provided by maps?
Which one will take more memory: an int or integer?
What is immutable in java?
Difference between string s= new string (); and string s = "abv";?