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

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

Introduction to OOP HISTORY OF JAVA TYPICAL JAVA ENVIRONMENT FIRST JAVA PROGRAM (OVERVIEW) CLASSES OBJECTS INTRODUCTION OF OBJECT TERMINOLOGY
Image of page 1

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

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
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
Image of page 3

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

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
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
Image of page 5

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

Image of page 6
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '16

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern