object oriented concepts introduction to java · 2018-02-01 · object oriented concepts...

21
Object Oriented Concepts Introduction to Java A Quick Revision Theme of this slide is downloaded from www.themegallery.com Dr. Syed Imtiyaz Hassan Assistant Professor, Deptt. of CSE, Jamia Hamdard (Deemed to be University), New Delhi, India. [email protected]

Upload: others

Post on 04-Jun-2020

24 views

Category:

Documents


0 download

TRANSCRIPT

Object Oriented Concepts

Introduction to Java

A Quick Revision

Theme of this slide is downloaded from www.themegallery.com

Dr. Syed Imtiyaz HassanAssistant Professor, Deptt. of CSE,

Jamia Hamdard (Deemed to be University),

New Delhi, India.

[email protected]

2

Introduction

There are 37.2 Trillion Cells in Your Body

there are about 3×1013 red blood cells to infer that about

100 million new red blood cells are being formed in our

body every minute!

3

Complexity

The Structure of a Personal Computer

The Structure of Plants

(roots, stems, and leaves)

The Structure of Animals

collections of cells form tissues, tissues work together as organs,

clusters of organs define systems (such as the digestive system),

and so on.

The Structure of Matter

Astronomers study galaxies that are arranged in clusters, and

stars, planets, and various debris are the constituents of

galaxies.

Atoms are made up of electrons, protons, and neutrons;

electrons appear to be elementary particles, but protons,

neutrons, and other particles are formed from more basic

components called quarks. 4

Designing Complex Systems

Abstraction

Hierarchy

Evolution

An abstraction denotes the essential characteristics of an

object that distinguish it from all other kinds of objects

and thus provide crisply defined conceptual

boundaries, relative to the perspective of the viewer.

5

Object

A tangible and/or visible thing

Something that may be apprehended intellectually

Something toward which thought or action is directed

An object has state, behavior, and identity; the

structure and behavior of similar objects are defined in

their common class; the terms instance and object are

interchangeable.

6

State & Behavior

The state of an object encompasses all of the (usually

static) properties of tbe object plus tbe current (usually

dynamic) values of each of these properties.

Behavior is how an object acts and reacts, in terms of its

state changes and message passing.

The state of an object represents the cumulative results

of its bebavior.

7

The Road to OOP and Beyond

Unstructured programming

Procedural programming

Modular programming

Data abstraction

Object-oriented programming

8

HISTORY OF OT

Dr. Kristin Nygaard of Norway (1969)

Ole-Johan Dahl was an expert computer scientist

and programmer

SIMULA 1 and 67 were defined by Nygaard and

Dahl as object-oriented extensions of ALGOL.

(1970)

Alan Kay Wrote thesis on “dynabook” concept

Employed by Xerox Parc at time Smalltalk Invented

9

Oracle Home Page

10

Technologies

11

Technologies … Embedded

12

Technologies … Java SE

13

Technologies … Java EE

14

Technologies … Java EE (cont.)

15

The Java Tutorails … Oracle

16

The Java Tutorails … Oracle (cont.)

17

History

Green Team (1991)

Bill Joy

Andy Bechtolsheim

Wayne Rosing

Mike Sheridan

James Gosling

Patrick Naughton

James Gosling developed Oak (later renamed Java)

Java is an island of Indonesia where first coffee was

produced (called java coffee)

18

Time Line

JDK Alpha and Beta (1995)

JDK 1.0 (1996)

JDK 1.1 (1997)

J2SE 1.2 (1998)

J2SE 1.3 (2000)

J2SE 1.4 (2002)

J2SE 5.0 ( 2004)

Java SE 6 (2006)

Java SE 7 (2011)

Java SE 8 (2014)

Source: https://www.javatpoint.com/history-of-java

19

Summary

Object Oriented Methodology & Java

Mapping problem domain into solution domain

20