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 the interruptible method gets implemented?
What is ‘is-a ‘ relationship in java?
What is Garbage Collection in Java
Why volatile is used in java?
How to set the permissions to a file in java?
What types of index data structures can you have in java?
What is operator overloading. Is it is supported in java?
How do you break a loop?
Why is it important to initialize a variable?
Explain about object oriented programming and its features?
What is the properties class in java programming?
worst case complexities of Quick sort and Merge sort.
How many threads does a core java have?
When we serialize an object does the serialization mechanism saves its references too?
Why java is said to be pass-by-value ?