What are the OOPS concepts?
Answer Posted / azamkhan.pathan
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 ? | 75 Yes | 24 No |
Post New Answer View All Answers
What is stream in oop?
What is the difference between encapsulation and polymorphism?
What is the real time example of encapsulation?
Templates mean
What are oops functions?
Can you explain polymorphism?
What is polymorphism in oops with example?
#include
What is encapsulation in simple terms?
How long to learn object oriented programming?
What is purpose of inheritance?
write a program that takes input in digits and display the result in words from 1 to 1000
can inline function declare in private part of class?
What is polymorphism explain?
What is basic concept of oop?