Input
Output
<?php class StaticMethod { public static $a = 6; public static function square() { self::$a = 5; } public static function main() { self::square(); // Calling the static method echo "Area of the square: " . (self::$a * self::$a) . "\n"; } } // Call the main method StaticMethod::main(); ?>