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 |
What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile
tel me oops defination in single line
what is function overloading..?
Have you ever used threads?
What do you mean by overloading?
What do we mean by a hidden argument in C++?
What is oops in simple words?
how much classes are used in c++
difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.
What are the advantages of inheritance?
26 Answers IBS, TCS,
what is object slicing