Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Manish Shrotriya CSE201 2014MS 1.Everything is an Object Welcome to the world of Object Oriented Programming 2.Objects have properties and behaviors.

Similar presentations


Presentation on theme: "By Manish Shrotriya CSE201 2014MS 1.Everything is an Object Welcome to the world of Object Oriented Programming 2.Objects have properties and behaviors."— Presentation transcript:

1 By Manish Shrotriya CSE201 2014MS 1.Everything is an Object Welcome to the world of Object Oriented Programming 2.Objects have properties and behaviors 3.They Interact with each other 4.They are related to each other

2 By Manish Shrotriya CSE201 2014MS Ex. Library 1.Library properties: bookshelf[],timings, location, 2.Library behaviors: arranggingBooks(), inventory(), oerdering() 3.Library interacts with: Book,student, supplier, otherLibs 4.Library is related to: IIITD,

3 By Manish Shrotriya CSE201 2014MS Ex. Student 1.Student properties: name, roll,batch,gender, branch 2.Student behaviors: attendingclass, drinking(), studying() 3.Student interacts with: 4.Student is related to: institute, 1.Student.issueBook() or Library.issueBook() 2.Student.returnBook() or Library.returnBook()

4 By Manish Shrotriya CSE201 2014MS Account and Customer 1.Customer.openAccount() or Account.createCustomer() 2.Withdraw behavior? 3.Customer.closeAccount() or Bank.closeAccount()


Download ppt "By Manish Shrotriya CSE201 2014MS 1.Everything is an Object Welcome to the world of Object Oriented Programming 2.Objects have properties and behaviors."

Similar presentations


Ads by Google