1.

What will be the output of the following PHP code ?<?phpclass Constants{ define('MIN_VA', '10.10'); define('MAX_VAL', '20.20'); public static function getMin() { return self::MIN_VAL; } public static function getMax() { return self::MAX_VAL; }}echo Constants::getMin();echo Constants::getMax();?>

A. Error
B. 10.10
C. 20.20
D. Nothing
E. None of these
Answer» B. 10.10


Discussion

No Comment Found