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 the use of default method in interface in java? Explain
Is void a data type?
What is constructor chaining and how is it achieved in java?
What is the difference between the size and capacity of a vector?
explain different ways of using thread? : Java thread
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
What are the data types supported by java? What is autoboxing and unboxing?
What are different ways of object creation in java ?
What is the tradeoff between using an unordered array versus an ordered array?
What is the purpose of assert keyword used in jdk1.4.x?
What is called module?
Does java have a compiler?
What are the steps that are followed when two computers connect through tcp?
Is set ordered in java?
Where will it be used?