oops assignment 2
oops assignment 2
Questions:
1. Introduction to OOP:
a) What is Object-Oriented Programming (OOP)? Explain its core principles.
b) How is OOP different from procedural programming? Give at least two examples to
support your answer.
o Creates an object of the Student class and calls the displayDetails() function.
Explain how objects are created and used in your program.