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
How to make a write-only class in java?
What is a singleton puppy?
What are locale settings?
What is anagram word?
Can we assign null to double in java?
Is void a data type?
What are the uses of java?
What is java autoboxing?
Can we define package statement after import statement in java?
Variables used in a switch statement can be used with which datatypes?
What is the purpose of the System class?
What do you understand by classes in java?
What do you mean by platform independence of Java?
Write a program to print count of empty strings in java 8?
Can list be null in java?