Answer Posted / navinice
We use Interfaces in java because JAVA Doesn't support
multiple inheritance. Thats why no any class can extend more
than one class in JAVA.. But through Interfaces we can
implement more than one interfaces and use there methods in
base class.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is parameter example?
Can a main method be overloaded?
State two differences between C and Java.
What is the static import?
Is java se open source?
Can we sort set in java?
How to use arraylist in java netbeans?
can java object be locked down for exclusive use by a given thread? : Java thread
Can we have multiple public classes in a java source file?
What is meant by method overriding?
What is a literal coding?
What is difference between stringbuffer and string?
What is a Transient Object?
What is a condition in java?
What does pointer mean?