OOPs has the concept of performing many tasks with one method. If yes, satisfy it
with example.
please help!!!
Answers
Answered by
2
Answers
sakshi62000
ashna46
GeniousAkanksha
rmj7739
ashna46
Ashna46Ambitious
Answer:
OOPS Concepts or Object Oriented Programming Concepts are very important. Without having idea about OOPS concepts, you will not be able to design systems in object oriented programming model.
Table of Contents
1 OOPS Concepts
1.1 Abstraction
1.2 Encapsulation
1.3 Polymorphism
1.4 Stay Connected
1.5 Inheritance
1.6 Association
:
Explanation:
Answered by
0
Answer:
OOPs do have the concept of performing many tasks with one method, so the answer is 'Yes.'
Explanation:
OOPs achieve many tasks with one method based on the below concepts:
- Abstraction: Simple entities like objects, classes, and variables reflect more sophisticated underlying code and data through abstraction. This is vital because it prevents you from doing the same thing over and over again.
- Encapsulation: Encapsulation is a protective barrier within a class that keeps data and code safe. We can then reuse things such as code components or variables without enabling system-wide unrestricted access to data.
- Inheritance: Inheritance is a feature of Java's Object-Oriented Programming that allows programmers to build new classes that share some of the same traits as existing classes.
- Polymorphism: This allows Java programmers to say different ideas in different situations with the same phrase. Method overloading is a type of polymorphism.
Thus, when creating large applications, developers frequently utilize OOP as a tool since it is easier to reason in terms of classes and their interactions.
Similar questions