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


Please Help Members By Posting Answers For Below Questions

Can enum be null?

594


What is overloading in oops?

609


What is overriding vs overloading?

590


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1587


Why interface is used?

559






Can destructor be overloaded?

605


Advantage and disadvantage of routing in telecom sector

794


Why is there no multiple inheritance?

579


2. Give the different notations for the class.\

1596


What is class and object in oops?

619


What are the components of marker interface?

614


Write a program to sort the number with different sorts in one program ??

1926


Which type does string inherit from?

623


What is abstraction and encapsulation?

583


Where is pseudocode used?

573