Discuss whether the following are a phenomenon (object) or a concept (class). If it is a phenomenon then find the concept that covers the phenomenon.
The bicycle you rode to the university this morning
The book "Hitchhiker's Guide to the Galaxy"
Your own copy of the book "Hitchhiker's Guide to the Galaxy"
A teaching assistant
The set of all integers
The set of all students following this course
Draw a generalization and specialization hierarchy for the different kinds of persons on a university, e.g., professors, teaching assistants, students, secretaries, and lab engineers. Describe the data and methods on the various concepts found.
Find two or more examples on an aggregated concepts.
Setup our computer environment such that you can run the Java SDK version 1.4.2
If the Java Standard Edition SDK version 1.4 is not installed on your local PC you can download it from Sun's home page at the following URL http://java.sun.com/j2se/. The Java Standard Edition is available at the Solaris platform at /pack/jdk-1.4.2.
Setup your PATH and CLASSPATH environment variables to point to the version 1.4 of the Java SDK. To find out which version of the Java environment you are running type java -version in a command window.
It is recommended to use and IDE to develop your Java programs.
When you have done this try to compile and execute a Hello World Java program on your machine. You can find a HelloWorld Java example code here HelloWorld.java.
E1: List examples of software products that you would not implement using Java. Explain why Java is not well-suited for the products you have listed. State the programming language that you would use instead of Java and explain why.
E2: Discuss the advantages and disadvantages of single inheritance and multiple inheritance. I Java only single inheritance is possible, i.e., a class can only have one superclass. In C++ multiple inheritance is possible, i.e., a class can have multiple superclasses.