What are the OOPS concepts?
Answer Posted / shekhar
BASIC CONCEPT OF OOPS:
1.OBJECTS:
An object is an abstraction of a real world entity. It may
represent a person,a placea number and icons or something
else that can be modelled.Any data in an object occupy some
space in memory and can communicate with eachother .
2.CLASSES:
A class is a collection of objects having common
features .It is a user defined datatypes which has data
members as well functions that manupulate these datas.
3.ABSTRACTION:
It can be definr\ed as the seperation of unnecessary
details or explation from system requirments so as to
reduce the complaxities of understanding requirments.
4.ENCAPTULATION:
It is a mechanism that puts the data and function together.
It is bthe result of hiding implimintation details of an
object from its user .The object hides its data to de
accessed by only those functions which are packed in the
class of that object.
5.INHERITANCE:
It is the relationship between two classes of object such
that one of the classes ,the child takes all the relevent
features of other class -the parent.
Inheritance bring about reusablity.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is class defined?
What are the components of marker interface?
What is abstract class in oops?
What is the real time example of inheritance?
Can we create object of abstract class?
Is this job good for future? can do this job post grduate student?
What is encapsulation and abstraction? How are they implemented in C++?
Can enum be null?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is polymorphism explain?
write string class as your own class in java without using any built-in function
What is encapsulation c#?
Is react oop?
What is oops and its features?
What are the 4 pillars of oop?