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 / neha jain
i feel with interface we can use public and default.and
with abstract we can use all except private
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is a local class in java?
What is a boolean used for?
Tell us something about set interface.
What is class forname?
Is string a class?
What is the importance of finally block in exception handling?
Can we have 2 main methods in java class?
What are the restrictions imposed by a Security Manager on Applets?.
Can we override data members in java?
Why does java have different data types for integers and floating-point values?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What are the disadvantages of using inner classes?
What is static synchronization?
What is the purpose of encapsulation?
What are the difference between composition and inheritance in java?