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 the interruptible method gets implemented?

912


What is ‘is-a ‘ relationship in java?

966


What is Garbage Collection in Java

1024


Why volatile is used in java?

983


How to set the permissions to a file in java?

937


What types of index data structures can you have in java?

1127


What is operator overloading. Is it is supported in java?

944


How do you break a loop?

921


Why is it important to initialize a variable?

932


Explain about object oriented programming and its features?

964


What is the properties class in java programming?

942


worst case complexities of Quick sort and Merge sort.

944


How many threads does a core java have?

996


When we serialize an object does the serialization mechanism saves its references too?

966


Why java is said to be pass-by-value ?

980