Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » PHP » MCQ on Object & Classes

PHP Interview Questions on Classes and Objects - 4


Question: 1

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

Compiler
Level: Beginner Category of MCQ: classesAndobjects



Question: 2

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

Compiler
Level: Practionar Category of MCQ: classesAndobjects



Question: 3

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

Compiler
Level: Practionar Category of MCQ: classesAndobjects



Question: 4

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

Compiler
Level: Practionar Category of MCQ: classesAndobjects