Java Training in Chennai - PowerPoint PPT Presentation

About This Presentation
Title:

Java Training in Chennai

Description:

Payilagam provides excellent, job oriented training in Chennai. To know more, please visit www.payilagam.com – PowerPoint PPT presentation

Number of Views:21

less

Transcript and Presenter's Notes

Title: Java Training in Chennai


1
Core Java - Introduction
  • OBJECT ORIENTATION

2
Attending Class An Example
  • I have a problem to solve
  • I am teaching this class
  • After you finished with my class, you have
    another to attend
  • You do not know where that class is located
  • I must make sure you know how to get to your next
    class

3
The Functional Approach
  • A functional solution to the problem
  • Get list of people in class
  • For each person on the list
  • Determine next class they need to attend
  • Determine location of the class
  • Formulate directions from my class to the next
    class
  • Tell the person the instructions
  • Implementing this approach would require
  • A procedure to get the list of people
  • A procedure to get each persons schedule
  • A program to give directions
  • A controlling program to execute these functions
    for each person

4
An Alternative
  • An alternative solution
  • Post directions to classroom locations on the
    wall
  • Tell people in class where directions are and to
    go to their next class
  • Implementing this approach would require
  • People that
  • Know how to read directions
  • With directions, can get to next class
  • A control program to
  • Post the instructions and tell people that class
    is over
  • Implementing this approach would require
  • With the functional approach
  • The Control program is responsible for everything
  • With this alternative, students are responsible
    for themselves

5
How Does It work?
  • People are responsible for themselves
  • They do their own work
  • They know what type of person they are
  • Control Program
  • Communicates with all people as if they are the
    same
  • Does not care how people get from one class to
    another
  • Does not care if people need to take special
    steps

6
Object Orientation
  • Objects are responsible for themselves
  • Objects tell each other to do things at a
    conceptual level
  • Objects
  • State,
  • Behaviour
  • REAL TIME ENTITY

7
Thank You !
Write a Comment
User Comments (0)
About PowerShow.com