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

What is a values collection view ?

1149


how does the run() method in runnable work? : Java thread

966


What is a local, member and a class variable?

1092


When do I need to use reflection feature in java?

1138


What do you mean by flow of struts?

1381


Is zero a natural number?

1103


What is a function argument in java?

1045


What is a local class in java?

1090


Can a final method be overloaded?

1006


How to sort double array in java?

1039


Can set contain duplicates?

1051


What is function and its uses?

1179


What is difference between word and integer?

1137


Can we call the constructor of a class more than once for an object?

1140


Explain features of interfaces in java?

1059