Update index.php

parent 428d9f4e
<!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
// put your code here
?>
</body>
</html>
<?php
/*
Romauli Feronica Siregar
*/
require_once 'Employee.php';
require_once 'Department.php';
require_once 'Company.php';
$emp1= new Employee();
echo "DATA KARYAWAN:";
$emp1->setEmployeeName("roma");
echo '';
$emp1->getEmployeeTitle();
echo '<br>';
$emp1->getEmployeeMontlySalary();
echo '<br>';
$emp1->getProfileEmployee();
echo '<br>';
$emp2= new Department();
echo $emp2->getDepartmentName();
$emp3= new Company();
echo $emp3->getCompanyName();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment