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 is an example of character?

1203


Why is method overloading not possible by changing the return type in java?

1051


What is a qms manual?

1040


What is parse method?

1062


How do you define a method?

1038


Can memory leak happen java?

1045


What are the four integer types supported by java?

1093


What is class array in java?

1118


Why super is first line in java?

1097


Difference between operator overloading and function overloading

1122


Why is java multithreaded?

1043


What is lifetime variable?

1013


How do you remove duplicates from an array in java?

1009


Can we restart a dead thread in java?

1044


How list contains works in java?

1046