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
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
Can we override protected method in java?
What is user defined exception in Java?
How many types of string data types are there?
What is the default size of set in java?
Explain the significance of class loaders in bootstrap?
Can size_t be negative?
What is a generic data type?
Is java a utf 8 string?
What must a class do to implement an interface in java programming?
Can we restart a dead thread in java?
What is scope of a variable?
What is the difference between class & object?
Is jdk required on each machine to run a java program?
What is style and indentation?