Computer Science, asked by shahanab8794, 1 year ago

Explain the concept involved in object oriented programming

Answers

Answered by Tajeshsahu
2
Object-oriented programming (OOP) refers to a type of computer programming (software design) in which programmers define not only the data type of a data structure, but also thetypes of operations (functions) that can be applied to the datastructure.In this way, the data structure becomes anobject that includes both data and functions. In addition,programmers can create relationships between one object and another. For example, objects can inherit characteristicsfrom other objects.If you are new to object-oriented programming languages, you will need to know a few basics before you canget started with code.The following definitions will help you better understandobject-oriented programming:Abstraction: The process of picking out (abstracting) common features of objects and procedures.Class: A category of objects. The class defines all the common properties of the different objects that belong toit.Encapsulation: The process of combiningelements to create a new entity. A procedure is a type ofencapsulation because it combines a series of computer instructions.Information hiding: The process of hidingdetails of an object orfunction. Information hiding is a powerful programming technique because it reduces complexity.Inheritance: a feature that represents the "isa" relationship between different classes.Interface: the languages and codes that the applications use to communicate with each other and with the hardware.Messaging: Messagepassing is a form of communication used in parallel programming and object-oriented programming.Object: a self-contained entity that consists of both data and procedures to manipulate the data.Polymorphism: A programming language's ability to process objects differently depending on their data type or class.Procedure: a section of a program that performs a specific task.
Answered by kim32
0
hey, here's ur answer
"OOP concepts is java are the main idias behind Java's object oriented programming.they are an inheritance,and polymorphism. Grasping them is key to understand how java works."
I hope it helps u
Similar questions