<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Caneta
 *
 * @author Lorena
 */
class Caneta {
    var $modelo ;
    var $cor;
    var $ponta;
    var $carga;
    var $tampada;       
}

function rabiscar() {
    echo "Estou rabiscado...";
}
function tamdar() {
    echo "Estou rabiscado...";
}

function destampar() {
    
}
            


<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        require_once 'Caneta.php';        
        $c1 = new Caneta;
        $c1->cor = "Azul";
        $c1->ponta = 0.5;
        $c1->tampada = true;
        
        $c1->tampar();  
         
       ?>
    </body>
</html>