A Brief Introduction
This lesson welcomes you to the world of object-oriented programming.
Procedural Programming
Presumably, you are familiar with the basics of programming and have used methods, also referred to as functions, in your programs.
Procedural programming is a programming paradigm. In procedural programming, a program is divided into smaller parts called methods.
The basic entities in procedural programming are methods.
The focal point of the procedural programming technique is to use methods for code reusability. This means that once a method is implemented in a program, it can be called on any number of times to perform the certain operation(s) rather than repetitively writing code for these operations. However, using this paradigm to implement a complex real-world scenario can be a difficult task.
What is Object-Oriented Programming?
Programming is used to solve real-world problems and it won’t make much sense if one can’t model real-world scenarios using programming languages, right? This is where ...