<?php
class Profile {
private $presentation = "Hi, I am a web developer 💻 with a solid base in PHP, JavaScript, MySQL and Java";
public function printPresentation() {
echo $this->presentation;
}
}
$profile = new Profile();
$profile->printPresentation();
?>
public class Profile {
private final String presentation = "I am currently experimenting with new languages and technologies ⚙";
public static void main(String[] args) {
Profile profile = new Profile();
System.out.println(profile.getPresentation());
}
public String getPresentation() {
return presentation;
}
}