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 protected and friendly?

Answer Posted / priyavarzhni

Protected: the method of a class os accessed only when the
other class inherits it.
Friendly: no need for inheritance. we can access the methods

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What occurs when an object is constructed?

979


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1413


What is the difference between array and array list in java?

1209


how to convert Java project into Maven ?

1038


Does windows 10 need java?

1028


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2810


What is keyword in oop?

942


What is the platform?

988


Write a program to calculate factorial in java?

986


What is supplier in java?

992


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

979


State the significance of public, private, protected class?

1089


List some java keywords sun like c, c + + keywords?

990


What is compiler and what its output.

1129


Does anyone still use java?

1096