Question:Consider the following class: 1 class lnsurance 2 { 3 function clsName() 4 } 5 echo get_class($this); 6 } 7 } 8 $cl = new lnsurance(); 9 $cl->clsName(); 10 lnsurance::clsName(); Which of the following Lines should be commented to print the class name without errors?
A Line 8 and 9
B Line 10
C Line 9 and 10
D All the three lines 8,9 and 10 should be left as it is.
+ AnswerB
+ Report