Skip to main content

OBJECT ORIENTED PROGRAMMING LANGUAGE - JAVA

 

Java - What is OOP?

OOP stands for Object-Oriented Programming.

Procedural programming is about writing procedures or methods that perform operations on the data, while object-oriented programming is about creating objects that contain both data and methods.

OOPs refers to languages that use objects in programming, they use objects as a primary source to implement what is to happen in the code. Objects are seen by the viewer or user, performing tasks assigned by you. 

Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism etc. in programming. The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function. 

Object-oriented programming has several advantages over procedural programming:

  • OOP is faster and easier to execute
  • OOP provides a clear structure for the programs
  • OOP helps to keep the Java code DRY "Don't Repeat Yourself", and makes the code easier to maintain, modify and debug
  • OOP makes it possible to create full reusable applications with less code and shorter development time

Comments

Popular posts from this blog

HOME

  Vision of the Institution "To create a collaborative academic environment to foster professional excellence and ethical values" Mission of the Institution To develop outstanding professionals with high ethical standards capable of creating and managing global enterprises To foster innovation and research by providing a stimulating learning environment To ensure equitable development of students of all ability levels and backgrounds To be responsive to changes in technology, socio-economic and environmental conditions To foster and maintain mutually beneficial partnerships with alumni and industry Vision of the Department To Nurture professionals in the field of Artificial Intelligence and Machine Learning by disseminating knowledge and skills in the area of Artificial Intelligence and Machine Learning and inculcate into them social and ethical values towards serving the greater cause of the society Mission of the Department M1: To foster students with the latest technologie...