Animal Colors - Java Quiz Question


What will be the output of the following program?


A
Crow is Black
Cow is White
Parrot is Green
Pig is Black
B
Crow is White
Cow is White
Parrot is White
Pig is White
C
Some other output
D
Compilation Error or Runtime Error