Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why java is considered dynamic?

1178


Can we create object of static class?

1027


What does yield method of the thread class do?

1039


Can we split string with in java?

1016


Implement a stack with push (), pop() and min() in O(1) time.

1114


Does java arraylist maintain insertion order?

1002


Explain about map interface in java?

997


What are data types in oop?

1037


Is hashset ordered?

1077


Is vector thread safe in java?

1060


What does opcode mean?

1088


What is object data type?

1004


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

984


Are static members inherited to sub classes?

1143


Can you inherit from an abstract class java?

995