{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lec01_Overview_2per - 1 The University Of Michigan Andrew M...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 The University Of Michigan Andrew M. Morgan EECS285 Lecture 01 Java – The Overview Van der Linden Ch.1-2 EECS EECS EECS EECS EECS EECS EECS EECS 285 285 285 285 285 285 285 285 2 Andrew M. Morgan Java – One Slide History • Java’s Beginning – Dec. 1990: James Gosling began working on a new language at Sun Microsystems • Initially called “Oak” – 1996: Java 1.0 released – 1998: Java 1.2 (aka “Java 2”) released • In comparison – C++ was developed between 1983 and 1985 – C was developed around 1972 – Fortran was developed around 1955 2 EECS EECS EECS EECS EECS EECS EECS EECS 285 285 285 285 285 285 285 285 3 Andrew M. Morgan Java – What and Why • Compiled Java is platform independent – Write source code, compile it once, run on any platform • Java is completely object-oriented – C++ is a superset of C, and is often used as “C+” • Java is “programmer friendly” – Automatic garbage collection, “no pointers”, etc. • Java has a lot of pre-built functionality – Huge API contains functionality for everything from container data structures to image manipulation to … • Java is great for developing user interfaces – UI development, data entry, event handling, etc., is relatively straight forward EECS EECS EECS EECS EECS EECS EECS EECS 285 285 285 285 285 285 285 285 4 Andrew M. Morgan Why Java: Platform Independence • C++ vs Java build and execution C++ Source Code Java Source Code Platform-A-Specific C++ Compiler Platform-A-Specific Object Code Platform-A-Specific Java Compiler Platform-Independent Byte Codes Platform-A-Specific C++ Linker Platform-A-Specific Executable Platform-X-Specific Java Virtual Machine (Interpreter) Platform-B-Specific Java Compiler Platform-Y-Specific Java Virtual Machine (Interpreter) Platform-B-Specific C++ Compiler Platform-B-Specific Object Code Platform-B-Specific C++ Linker Platform-B-Specific Executable • Platform-specific compilers generate byte codes that can be interpreted by any platform’s Java Virtual Machine (JVM) 3...
View Full Document

{[ snackBarMessage ]}

Page1 / 8

Lec01_Overview_2per - 1 The University Of Michigan Andrew M...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online