What are the OOPS concepts?
Answers were Sorted based on User's Feedback
Answer / mayank gupta
There are only five concepts in the oops others may be
derived from those:
1. Encapsulation and Data Abstraction
2. Polymorphism
3. Dynamic Binding
4. Message Passing
5. Inheritance
| Is This Answer Correct ? | 259 Yes | 144 No |
Answer / anurudh singh
These Are Four Main OOPS Concepts::-->>
1.Polymorphism
2.Inheritence
3.Abstract
4.Encapsulation
| Is This Answer Correct ? | 133 Yes | 31 No |
Answer / sivabalaselvamani
1)Object-Instance of the class
2)Classes-Combination of Data members and member functions
3)Data Abstraction-Abstracting the data and functions from
unwanted users.
4)Data Encapsulation-Wrapping up of Data members and member
functions.
5)Inheritance-Passing the values from one object to anther
object.
6)Message Passing-Messages can possible from one object to
anther object
7)Polymorphism-its like function over loading.
Poly-Many, morphism-Forms
8)Robust and Securisam-its for security purpose
| Is This Answer Correct ? | 151 Yes | 63 No |
Answer / anumohan.mc
there are 4 types of oops concepts.
they are.
Encapsulation
Abstraction
Inheritance
Polymorphism
| Is This Answer Correct ? | 77 Yes | 26 No |
Answer / 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 |
Answer / mathivanan
The following are Object Oriented Programming Concepts..
1. Class
2. Objcet
3. Reusability
4. Inheritance
5. Polymorphism
6. Data Encapsulation
7. Data Abstarction
8. Interfaces
9. Message Passing
| Is This Answer Correct ? | 80 Yes | 33 No |
Answer / anurag
oops is the object oriented programming.
1)encapsulation
2)data abstraction
3)inheritance
3)polymorphism
4)dynamic binding
5)message communication
| Is This Answer Correct ? | 76 Yes | 30 No |
Answer / irfan jafree
oops concepts means to provide security of our data.
oops concepts are following ways:
Encapsulation: wrapping up of data and member function
together into a single unit class.
Abstraction: Showing essential feature without background
detail.
Inheritance: The property of one class inherited property
of other class.
Polymorphism: it means many form .They are two forms as:
Operator overloading and Function overloading.
| Is This Answer Correct ? | 95 Yes | 52 No |
Answer / krishnan
1 encapsulation - class
2 abstraction - object
3 inheritance
4 poymorphism - compile and run (static and dynamic binding)
5 message passinng
6 delegation
7 reusability
8 Interfaces
9 extensability
10 templates
11 scalability
12 associativity
13 persitence ......etc are OOPs Cocepts
| Is This Answer Correct ? | 68 Yes | 36 No |
Answer / ammu
1encapsulation - class
2abstraction - object
3inheritance
4 poymorphism - compile and run (static and dynamic binding)
5 message passinng
6 delegation
7 reusability
8 Interfaces
9 extensability
10 templates
11 scalability
12 associativity
13 persitence ......etc are OOPs Cocepts
| Is This Answer Correct ? | 61 Yes | 48 No |
What are callback functions in c++
State what is encapsulation and friend function?
Plese get me a perfect C++ program for railway/airway reservation with all details.
ambiguity regulation of multiple inheritance with example.
What is for loop and its syntax?
why constructor cannt be declar virtually? why destructor cannt be overloaded?
Why do we use class?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
How to overload new operator in c++
What is encapsulation c#?
what is the function of 'this' operator ?
Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0