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 differences between public, private, protected,
static, transient, final and volatile?

Answers were Sorted based on User's Feedback



What are the differences between public, private, protected, static, transient, final and volatile?..

Answer / nikunj

Public : access anyware in script
Protected: access only same class and access inherited class
Private: access only in same class
Final: restrict overriding with child class

Is This Answer Correct ?    59 Yes 3 No

What are the differences between public, private, protected, static, transient, final and volatile?..

Answer / naresh

in object by default all variables are presistent. so some
time we want to avoid that variables means we use transient
for that variable.

Is This Answer Correct ?    5 Yes 8 No

What are the differences between public, private, protected, static, transient, final and volatile?..

Answer / bharanikumar

can u plz give me more informa for protected

Is This Answer Correct ?    2 Yes 11 No

Post New Answer

More PHP Interview Questions

What is a composer in PHP?

0 Answers  


What is the difference between InnoDB and MyIsam

1 Answers   Brain Technosys, IBM, TCS, TLI Software, Wipro,


Is it necessary to use closing tag in php?sometime without closing tag things work.why?

2 Answers   ShopRite,


Is PHP an open source software?

0 Answers  


How can we get the browser properties using PHP?

4 Answers   Google, Pollux Softech,


Explain different sorting function in php?

0 Answers  


What is the use of header() function in PHP? What the Limitation of HEADER()?

0 Answers  


How to know user has read the email-php?

0 Answers  


What is cookie and session in php?

0 Answers  


What is the use of namespace in php?

0 Answers  


What is list in PHP?

0 Answers  


Why do we need abstract class in php?

0 Answers  


Categories