Answer Posted / 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 |
Post New Answer View All Answers
Explain, java is compatible with all servers but not all browsers?
Name few java util classes introduced with java 8 ?
Can we override the private methods?
Can a class be defined inside an interface?
What steps are taken when the OS shifts from one-thread execution to another?
why we use merge option in hybernate pls give a ex snippet
What is the purpose of a transient variable?
Differences between traditional programming language and object oriented programming language?
What is the use of default method in interface in java? Explain
Explain different ways of creating a thread?
What is the difference between jdk, jre, and jvm?
how come we know the object is no more used in the class?
How to reverse string in java?
What is static import in java?
Which sorting algorithm is in place?