Question:There is a PHP class called MyPhp;and it has a function getData().If the $callPhp is an object of the class MyPhp then what is the correct statement from the following to call getData() function?
A $callPhp->getData();
B $callPhp-getData();
C $callPhp<-getData();
D $callPhp(getData());
+ AnswerA
+ Report