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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove duplicate values from php array?

745


What is the functionality of the functions strstr() and stristr()?

709


What are sql functions?

693


How is csrf token generated?

690


Difference between get and post method.

725


How to make a class in php?

704


How to create a directory?

780


What is oops php?

689


How to support multiple-page forms?

742


Explain about PHP cookies?

802


When sessions ends?

719


Which is true about the singleton design pattern?

706


Does php class need constructor?

693


What is a persistent cookie in php?

733


Is laravel an oop?

668