1 / 7

Java Training in Chennai

Payilagam provides excellent Job Oriented Java training in Chennai. to know more, please visit www.payilagam.com

payilagam
Download Presentation

Java Training in Chennai

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. 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 www.payilagam.com

  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 person’s schedule • A program to give directions • A controlling program to execute these functions for each person www.payilagam.com

  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 www.payilagam.com

  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 www.payilagam.com

  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 www.payilagam.com

  7. Thank You !

More Related