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 / ismail

interface can be only public or default and abstract class
should be public protected

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are primitives objects?

562


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

551


Difference between comparator and comparable in java?

612


How to connect to a remote database using Applet?

2040


Explain about arraylist?

571






Why we used vector class?

627


Can I declare class as static or private?

537


What is general methodology?

565


What is the indent key?

587


What is meant by null and void?

531


How does a for loop work java?

538


How do you make a thread in java?

628


Explain about instanceof operator in java?

603


What is an interface in java?

559


Difference between collection, collection and collections in java?

568