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

public accsess specifier means it can publically accessed
by the class whether it's subclass of that class or present
in same packege or diffrent classes.

private access specifier is private to that class i.e. it
cant access out side the class

procted -it's accesesed by the sub class of the ckass
whether that present in the sane package or diffrent but it
must be a subclass

noacces accessed with in the same package

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is flag in python?

990


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

909


When is the arraystoreexception thrown?

960


What is flush () in java?

948


Why declare Main() method as a static in java ?

1018


What is bubble sort in java?

989


Difference between a process and a program?

1056


Can a java program have 2 main methods?

997


Is string an object?

1060


What do you mean by mnemonics?

999


What is udp in java?

928


What is the basic difference between string and stringbuffer object?

1022


What is space character in java?

1036


What is wrapper class html?

887


What is the difference between a field variable and a local variable?

1022