Introduction to Object Oriented Programming and Java- ICSE Notes
Introduction to Object Oriented Programming and Java – ICSE Introduction Object Oriented Programming (OOP) is a modern programming approach in which a program is designed using objects and classes . Java is a popular object-oriented programming language widely used in schools, colleges, and the software industry. This chapter helps students understand the basic concepts of OOP and Java , which form the foundation of advanced programming. 1. Principles of Object Oriented Programming Object Oriented Programming is based on four main principles : Abstraction Encapsulation Inheritance Polymorphism Procedure Oriented Programming vs Object Oriented Programming Procedure Oriented Programming Object Oriented Programming Program is divided into functions Program is divided into objects Data is not well protected Data is well protected Less secure More secure Example: C language Example: Java, C++ Reusability is less Reusability is high 1. Abstraction Definition...
Comments
Post a Comment