Introduction to the Java Programming Language

Software Design

Introduction to the Java Programming Language

Material drawn from [JDK99,Sun96,Mitchell99,Mancoridis00]

Software Design (Java Tutorial)

? SERG

Java Features

? "Write Once, Run Anywhere." ? Portability is possible because of Java

virtual machine technology:

? Interpreted ? JIT Compilers

? Similar to C++, but "cleaner":

? No pointers, typedef, preprocessor, structs, unions, multiple inheritance, goto, operator overloading, automatic coercions, free.

Software Design (Java Tutorial)

? SERG

Java Subset for this Course

? We will focus on a subset of the language that will allow us to develop a distributed application using CORBA.

? Input and output will be character (terminal) based.

? For detailed treatment of Java visit:

?

Software Design (Java Tutorial)

? SERG

Java Virtual Machine

? Java programs run on a Java Virtual Machine.

? Features:

? Security ? Portability ? Superior dynamic resource management ? Resource location transparency ? Automatic garbage collection

Software Design (Java Tutorial)

? SERG

The Java Environment

Java Source File (*.java) Java Compiler (javac)

Java Bytecode File (*.class) Java Virtual Machine (java)

Software Design (Java Tutorial)

? SERG

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download