Examveda
Examveda

Which one of the following is not a valid class name?

A. ShopProduct

B. Shopproduct

C. Shopproduct1

D. 1shopproduct

Answer: Option D

Solution(By Examveda Team)

You declare a class with the class keyword and an arbitrary class name. Class names can be any combination of numbers and letters, although they must not begin with a number.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept