Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux & Javascript!  

CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux Forum

You are here : Home » PHP » Interview Questions on Classes & Objects

PHP Interview Questions on Classes and Objects - 4 Questions


Question: 1

(A) Compilation Error
(B) cppbuzz
(C) "cppbuzz"
(D) None of the above

Beginner classesAndobjects Compile it[Posted by: Admin | Chicago, USA]



Question: 2

(A) cppbuzz
(B) ""
(C) "cppbuzz"
(D) None of the above

Practionar classesAndobjects Compile it[Posted by: Admin | Chicago, USA]



Question: 3

(A) cppbuzz
(B) "cppbuzz"
(C) ""
(D) Nothing is printed

Practionar classesAndobjects Compile it[Posted by: Admin | Chicago, USA]



Question: 4

(A) cppbuzz
(B) "cppbuzz"
(C) Nothing is printed
(D) error: can't access private property

Practionar classesAndobjects Compile it[Posted by: Admin | Chicago, USA]


[Contribute Here]