what are the different access specifiers that can be used
by interfaces and abstract classes? can anyone give me
detailed description on this
Answer Posted / malay tripathi
I guess if members of interface are declared final then
they can't be overridden & hence this hampers the logic
behind having interfaces...
Interface can only be Public/Default or abstract.In any
other case it can't be overridden & hence of no use.
MemberFunctions also behave similarly.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What does singleton class mean?
Explain about join() method?
What is the abstraction?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Why do we create public static method in java?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
What is the final keyword in java?
List out five keywords related to exception handling ?
What is the role of the java.rmi.naming class?
java Technical questions asked by JPMC
Why we used break and continue statement in java?
What are assembly attributes?
What are the two ways to create a thread?
Are functions objects in java?
How do you find the maximum number from an array without comparing and sorting?