Escolar Documentos
Profissional Documentos
Cultura Documentos
Arquivo: Index.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<pre>
<?php
require_once 'avaliacao.php';
print_r($x1);
?>
</pre>
</body>
</html>
Arquivo: Avaliacao.php
<?php
class Livros{
private $codigo;
private $descLivro;
private $isbn;
private $editora;
//metodos
?>
Atividade 02
Arquivo: Index 2.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<pre>
<?php
require_once 'avaliacao2.php';
print_r($x1);
?>
</pre>
</body>
</html>
Arquivo: Avaliacao2.php
<?php
class EventoAcademico{
public $nomeDoEvento;
public $localDoEvento;
public $numeroDeParticipantes;
//metodos
print_r("Evento: ");
?>