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 is the difference between the "protected and default"
modifiers?

Answer Posted / ravikiran

protected access is with in the same package and subclasses
outside the package
default access is with in the same package only

Is This Answer Correct ?    38 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does java se mean?

966


what is meant by Byte code concept in Java?

1006


What is object data type?

944


Can we create constructor in abstract class ?

987


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

1046


What is keyword and identifier?

1079


Explain the overview of UDP messaging.

1080


Can you explain the private protected field modifier?

967


What is synchronization and why is it important in java programming?

883


What does 3 dots mean in java?

922


What methodology can be utilized to link to a database?

901


What is the full form of jpeg?

898


What does this () mean in constructor chaining concept?

1054


What is args length in java?

1118


What is difference between core java and java ee?

849