1 / 114

Java Language

Course Objectives. Upon completing this course you should be able to:Describe the three main OOP concepts.Differentiate between

Olivia
Download Presentation

Java Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Java Language Abdulmalik S. Al-Gahmi October 4, 2001

    2. Course Objectives Upon completing this course you should be able to: Describe the three main OOP concepts. Differentiate between is a and has a Relationships Use Java standards for coding. Describe Java environment and how it works. Write java programs. Create packages and document them Create classes and interfaces. Create and manage a hierarchy of classes and interfaces Create objects out of classes. Use Java I/O capabilities. Connect to a database using JDBC Use Java API

    3. Course Organization Part 1: OOP Model Part 2: Java Basics Part 3: Java implementation of OOP Model Part 4: Java OOP Design Issues Part 5: Introduction to Java API Java I/O Java JDBC Part 6: Advanced Java Features Treads Exception Handling

    4. OOP Model Part 1

    5. Introduction To OOP Philosophy: Abstraction Growth: Machine Language Assembly Language Non-procedural Languages (BASIC) Procedural Languages (C, Pascal) OOP languages (C++, Java) OOP model is to eliminate the mapping from the problem space to solution space as possible.

    6. Objects Objects can be described in terms of: Their attributes Their behaviors Objects attributes and behaviors are encapsulated together a data type. Objects have a lifecycle: Creating objects Manipulating objects Cleaning up objects

    7. OOP Five Rules Alan Kay summarized five basic characteristics of Smalltalk: Everything is an object. A program is a bunch of objects telling each other what to do by sending messages. Each object has its own memory made up of other objects. Every object has a type. All objects of a particular type can receive the same messages.

    8. Objects Interfaces An object has to have an interface. The interface will Provide a way to let other objects to communicate with it. Hide the details of the object implementation. An example: Light bulb:

More Related