public class ComputerScientist {
private String name;
private String university;
private String[] interests;
public ComputerScientist() {
this.name = "Donatello Grahame Carboni";
this.university = "University of Pretoria";
this.interests = new String[] {"My girlfriend", "Artificial Intelligence", "Linux",
"Cryptocurrency", "Formula 1"};
}
public void sayHi() {
System.out.println("Hi, I am " + name + " and I am a third year student at the " +
university + "!");
System.out.println("I use Arch BTW");
}
public void sayInterests() {
System.out.println("My interests are: ");
for (String interest : interests) {
System.out.println(interest);
}
}
public static void main(String[] args) {
ComputerScientist me = new ComputerScientist();
me.sayHi();
me.sayInterests();
}
}
Pinned Loading
-
COS301-SE-2024/Autonomous-Car-Vision
COS301-SE-2024/Autonomous-Car-Vision PublicThe aim of this project is to provide and implement a comprehensive suite of AI tools for Car vision to detect potential hazards, provide collision warnings, and analyze road conditions.
Python 5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.