Answers were Sorted based on User's Feedback
Answer / debapriya patra
By using the "implements" clause
|Is This Answer Correct ?||7 Yes||1 No|
Answer / ravikiran
with implements keyword
|Is This Answer Correct ?||4 Yes||0 No|
Answer / asrinivas rao
In java a class can implement interface using "implemnts"
keyword.the methods defined in the interface need to be
implemented in the class which implments the respective
interface,otherwise the class becomes has an Abstract class.
|Is This Answer Correct ?||3 Yes||0 No|
Answer / ranganathkini
A class can implement an interface by using the "implements"
clause followed by a list of interface names that it
implements. Then the class needs to implement the
interface's methods within its class body.
|Is This Answer Correct ?||2 Yes||1 No|
Answer / mayuri wankhade
without using implements clause it is also possible to use
interface by creating object of an interface in the class
containing main method like :
nameOfInterface Obj = new nameOfInterface()
implement a method declared in an interface
|Is This Answer Correct ?||0 Yes||0 No|
What is an object class?
Is array size fixed in java?
Which types of exceptions are caught at compile time?
What is a line separator in java?
Explain the difference between association, aggregation and inheritance relationships.
Why we override equals() method?
could you run the java program without main method?
How many unicode characters are there?
What is byte code and why is it important to java’s use for internet programming?
What methods are used in Servlet?Applet communication?
What is identifier give example?
What is string pool in java?