CS202 Java-2
CS202 Introduction to Java
lLike C++, Java is a hybrid language
•Which means the syntax is not strictly limited to OOP constructs, although it is assumed that you want to do OOP using Java (e.g., exception handling is not an OOP feature)
•The benefit is that the initial programming effort should be simpler to learn and use than many other OOP languages
lOne of Java’s primary goals is to make programming less error prone; for example, Java meets this goal
•by performing bounds checking
•by not having explicit pointers
•by providing automatic garbage collection
lMuch of the foundation of C and C++ has been taken as a foundation in Java, with modifications. This is good news for us!
•On the other hand, unlike C++, Java does not maintain compatibility with the other languages, so you will find larger variations when moving from C or C++ to Java.
•