OOP_Lecture_01.ppt - Object Oriented Programming Java 1 Procedural Oriented Programing(POP Program is divided into small parts called functions

OOP_Lecture_01.ppt - Object Oriented Programming Java 1...

This preview shows page 1 - 8 out of 23 pages.

1 Object Oriented Programming Java
Image of page 1
2 Procedural Oriented Programing (POP) Program is divided into small parts called functions Importance is not given to data but to functions as well as sequence of actions to be done Does not have any access specifies In POP, Data can move freely from function to function in the system
Image of page 2
3 POP Cont… To add new data and function in POP is not so easy In POP, Most function uses Global data for sharing that can be accessed freely from function to function in the system POP does not have any proper way for hiding data so it is less secure In POP, Overloading is not possible Example of POPL are : C, VB, FORTRAN, Pascal
Image of page 3
4 Object Oriented programing(OOP) Program is divided into parts called objects Importance is given to data rather than procedures or functions to mimic real world realm OOP has access specifies named Public, Private, Protected, etc In OOP, objects can move and communicate with each other through member functions/methods
Image of page 4
5 OOP cont….. OOP provides an easy way to add new data and function/methods In OOP, data cannot move easily from function to function, it can be kept public or private so we can control the access of data OOP provides Data Hiding so provides more security In OOP, overloading is possible in the form of Function Overloading and Operator Overloading Example of OOP are : C++, JAVA, VB.NET, C#.NET
Image of page 5
6 POP SRUCTURE…… Main Function Function 1 Function 2 Function 3 Function 2 Function 5 Function N
Image of page 6
7 OOP SRUCTURE…… Class 1 { Data Methods } Class 2 { Data Methods } Class n { Data Methods }
Image of page 7
Image of page 8

You've reached the end of your free preview.

Want to read all 23 pages?

  • Summer '19
  • Mr. mwasita

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors