<!DOCTYPE html>
<html>
<head>
<title> Challenge Time! </title>
<link type='text/css' rel='stylesheet' href='style.css'/>
</head>
<body>
<p>
<?php
// Your code here
class Cat
{
public $isAlive = true;
public $numLegs = 4;
public $name;
function __construct($name){
$this->name = $name;
}
public function meow(){
return "Meow meow";
}
}
$myCat = new Cat("CodeCat");
echo $myCat->meow();
?>
</p>
</body>
</html>
Software engineering and business solutions blog featuring SaaS reviews, automation tools, and business insurance guides. Buyer-intent content designed to drive high-quality traffic and conversions.
Subscribe to:
Post Comments (Atom)
CSS Basics That Make Your Site Look Professional
CSS Basics That Make Your Site Look Professional Understanding the Role of CSS in Web Design What CSS Does for Website Appearance C...
-
How to clear SharePoint People Picker suggestion cache If you have been SharePoint Site owner long enough, you would have definitely ...
-
The problem was that the remote connection needed to utilize Named Pipes, but in order to utilize Named Pipes both the machine hosting the i...
-
Getting the following error (Figure 1): Server Error in '/' Application. ID4014: A SecurityTokenHandler is not registered to ...
No comments:
Post a Comment