Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the OOPS concepts?

Answer Posted / dinesh puri

1.Object:
An Object is a computer representation of some real-world
thing (i.e person, place) or event. Objects can have both
attributes and behaviours
2.class:
Objects with the same data structure (Attributes) and
behavior (Methods or Operations) are grouped together
(called a class ).
3.Encapsulation:
Encapsulation (or information hiding) is a principle, about
hiding the details of the implementation of the interface.
It is to reveal as little as possible about the inner
workings of the Interface.
4.inheritance:
As objects do not exist by themselves but are instances of
a CLASS, a class can inherit the features of another class
and add its own modifications. (This could mean
restrictions or additions to its functionality).
Inheritance aids in the reuse of code.
Classes can have 'Children' that is, one class can be
created out of another class. The original or parent class
is known as the SuperClass (or base class). The child class
is known as the SubClass (or derived class).
5.poymorphism:
Polymorphism means the ability to request that the same
Operations be performed by a wide range of different types
of things.
Effectively, this means that you can ask many different
objects to perform the same action

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an interface in oop?

985


How to improve object oriented design skills?

950


What is polymorphism oop?

1011


What is the diamond problem in inheritance?

1075


What is a class oop?

958


what type of question are asked in thoughtworks pair programming round ?

2148


What are main features of oop?

1083


What are the components of marker interface?

998


Write a program to reverse a string using recursive function?

2278


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2326


which feature are not hold visual basic of oop?

2149


What is polymorphism and types?

1043


What is overloading in oop?

961


What is abstraction and encapsulation?

945


What is a class in oop?

1048