View the exhibit: What is the result when this program is executed?
A.
Bob’s Name: Bob
B.
Bob’s name
C.
Bob’s Name: Jian
D.
Nothing prints
View the exhibit: What is the result when this program is executed?
A.
Bob’s Name: Bob
B.
Bob’s name
C.
Bob’s Name: Jian
D.
Nothing prints
Check
http://www.aiotestking.com/oracle/what-is-the-result-when-this-program-is-executed-2/
The answers are wrong
This are the right answers:
A.
Shape: constructor
Square: constructor
Square: foo
Shape: foo
B.
Shape: constructor
Square: constructor
Shape: foo
Square: foo
C.
Shape: constructor
Shape: foo
Square: foo
D.
Shape: constructor
Shape: foo
Shape: foo