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

How do you sort arrays in java?

913


Difference between java and javascript

1075


Are arrays immutable in java?

1066


What is Java Package and which package is imported by default?

1078


What is a dot notation?

1013


Which arithmetic operations can result in the throwing of an arithmeticexception?

1005


What is the difference between size and length in java?

961


What method is used to specify a container's layout in java programming?

1115


What is the difference between menuitem and checkboxmenu item?

1319


Can we overload the methods by making them static?

981


When should I use stringbuffer?

995


What are kinds of processors?

975


what is meant by Byte code concept in Java?

1044


What does a boolean method return?

1206


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

1980