What are the differences between public, private, protected,
static, transient, final and volatile?
Answer Posted / 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 |
Post New Answer View All Answers
Tell me how do I escape data before storing it into the database?
Does wordpress still use php?
What is rest api in php?
How to check your php installation?
What is the function func_num_args() used for?
What is an anti csrf token?
How can we submit form without a submit button?
How do you find the length of a string in php?
Is php an oop?
How to find datatype of variable in php?
Explain me difference between mysql_connect and mysql_pconnect?
What is the use of mysql_real_escape_string in php?
discuss the issue of software theft in ghana and how it has affected the economy
Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?
What are encryption functions in php?