{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Introduction to OOP.pdf - Introduction to OOP HISTORY OF J...

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

View Full Document Right Arrow Icon
Introduction to OOP HISTORY OF JAVA TYPICAL JAVA ENVIRONMENT FIRST JAVA PROGRAM (OVERVIEW) CLASSES OBJECTS INTRODUCTION OF OBJECT TERMINOLOGY
Background image of page 1

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

View Full Document Right Arrow Icon
History of C++ C++ evolved from C C evolved from two previous programming languages, BCPL and B ANSI C established worldwide standards for C programming C++ “spruces up” C Provides capabilities for object-oriented programming Objects - reusable software components that model things in the real world Object-oriented programs easy to understand, correct and modify 2
Background image of page 2
History of Java Java Based on C and C++ Developed in 1991 for intelligent consumer electronic devices Market did not develop, project in danger of being cancelled Internet exploded in 1993, saved project Used Java to createweb pages with dynamic content Java formally announced in 1995 Now used to create web pages with interactive content, enhance web servers, applications for consumer devices (pagers, cell phones)... 3
Background image of page 3

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

View Full Document Right Arrow Icon
Java Class Libraries Java programs Consist of pieces called classes Classes contain methods, which perform tasks Class libraries Also known as Java API (Applications Programming Interface) Rich collection of predefined classes, which you can use Two parts to learningJava Learning the language itself, so you can create your own classes Learning how to use the existing classes in the libraries 4
Background image of page 4
Basics of a Typical Java Environment Java Systems Consist of environment, language, Java Applications Programming Interface (API), class libraries Java programs have five phases Edit Use an editor to type Java program vi or emacs
Background image of page 5

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

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

{[ snackBarMessage ]}