When we give defination of interface method in the class why
method must be public???
Answer Posted / prakash
all methods in interfaces are public by default...
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Should database connections be singleton?
What are the methods of object class ?
What is singleton class example?
Difference between static synchronization vs. Instance synchronization?
What is static and final keyword in java?
Is there a jre for java 11?
Can we convert stringbuilder to string in java?
What is meant by object oriented programming – oop?
What is the difference between serializable and externalizable interface?
Why call by value prevents parameter value change?
What is return null in java?
Can a private method of a superclass be declared within a subclass?
What is volatile keyword in java
Is logger a singleton?
What is incompatible types in java?