Define interface?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
interface is the one which contains all the methods as
abstract.If we wish to do a complete new functionality
implementation in the future we have to make use of interface
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / dev yadav
interface is a collection of abstract methods ...we also implement multiple inheritence in java with the help of interface....
| Is This Answer Correct ? | 2 Yes | 0 No |
Garbage collection in java?
Explain importance of throws keyword in java?
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
How many types of java are there?
What is the difference between Static and final?
Why is Java a platform independent language?
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
What are the OOAD concepts in java explain with examples?
Mention some interfaces implemented by linked list in java.
What is a return in java?
How will you measure that int takes up only 32 bits in memory?
What is the largest number a double can hold?