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

PHP Interview Questions on Polymorphism - 10

Home » PHP » PHP Interview Questions on Polymorphism


Question: 1

(A) True
(B) False

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 2

(A) $-a = 10;
(B) $1a = 10;
(C) $1a1 = 10;
(D) $a1 = 10;

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 3

(A) $a1 = 10;
(B) $$a = 10;
(C) $$$a = 10;
(D) $1a = 10;

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 4

(A) 32
(B) 27.67
(C) 27
(D) 34.33

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 5

(A) 23
(B) 63
(C) 90
(D) 80

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 6

(A) 63
(B) 103
(C) 23
(D) 160

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 7

(A) 1.67
(B) 1.60
(C) 1.6666666666667
(D) 1.0

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 8

(A) 0
(B) 5-5
(C) $a-$a
(D) Compilation Error

Compiler
Beginner variables[Posted by: Admin | Chicago, USA]



Question: 9

(A) 0, 3
(B) 2, 3
(C) 3, 2
(D) 0, 4

Compiler
Expert variables[Posted by: Haze | Serbia, Belgrade]



Question: 10

(A) 10 10
(B) 4 6
(C) 10 6
(D) 6 10

Compiler
Beginner variables[Posted by: Harshit | Gupta]