why we call c++ is object oriented lanaguage
Answers were Sorted based on User's Feedback
Answer / madhu kalla
if a language (supports)follows ObjectOrientedProgramming
concepts we can say it is a Object Oriented Programming.
Object Oriented Programing Concepts are:
1.class
2.object
3.Data Abstraction
4.Encapsulation
5.Polymorphism
6.Inheritnace
7.Message Communication
| Is This Answer Correct ? | 57 Yes | 4 No |
Answer / viji
Since it obeys OOPs concepts,it is said to be object
oriented language....
| Is This Answer Correct ? | 19 Yes | 10 No |
Answer / pritesh
bcos c++ use the whole concept of oops.
and other important thing is that c++ use object
programming language .which makes it close to real
world.thats why c++ is object oriented language.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / arpit singhal
because c++ language use the concept of oop's like classes,
inheritence, ploymorphism, opertator overloading etc. but
it is not a pure object oriented language.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / t.ramu(9703233794)
Because of the entire code in the program is depend upon
the object only,through the object only we can call the
data and the normal methods/functions.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kramanareddy
c++ is not pure object oriented because it has one function
is friend function it can access private data but it can
suppot some concepets in opps
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / raman sharma
firstly we make to a class just a example we make addition
class then we make to object "s2" then we write
{
s2.addition(parameter);
}
| Is This Answer Correct ? | 0 Yes | 3 No |
How to create a comment page in C #??
what is meant by files?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku
What is extreme programming?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
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
What is the difference between declaration and definition?
How does polymorphism work?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess