A static method in PHP OOP is a method that belongs to the class itself rather than an instance of the class. It can be called without creating an ______ of the class.
- Object
- Instance
- Reference
- Array
A static method in PHP OOP can be called without creating an instance of the class. Since it belongs to the class itself, it can be accessed using the class name directly, without the need to instantiate an object.
Loading...