PHP Interview Questions on Overriding - 10
Question: 1
(A) True
(B) False
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 2
(A) $-a = 10;
(B) $1a = 10;
(C) $1a1 = 10;
(D) $a1 = 10;
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 3
(A) $a1 = 10;
(B) $$a = 10;
(C) $$$a = 10;
(D) $1a = 10;
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 4
(A) 32
(B) 27.67
(C) 27
(D) 34.33
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 5
(A) 23
(B) 63
(C) 90
(D) 80
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 6
(A) 63
(B) 103
(C) 23
(D) 160
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 7
(A) 1.67
(B) 1.60
(C) 1.6666666666667
(D) 1.0
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 8
(A) 0
(B) 5-5
(C) $a-$a
(D) Compilation Error
Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 9
(A) 0, 3
(B) 2, 3
(C) 3, 2
(D) 0, 4
Compiler
Level: Expert Category: variables
[Posted by: Haze | Serbia, Belgrade]
Question: 10
(A) 10 10
(B) 4 6
(C) 10 6
(D) 6 10
Compiler
Level: Beginner Category: variables
[Posted by: Harshit | Gupta]