what is opps?why it is use in programming language?
Answers were Sorted based on User's Feedback
Answer / giri prasad.thota
oops means object oriented programing.this is usud to divide
a program in to objects and there is encapsulation,data
abstraction,inheritence.messege passing featurs is available
in oops.
| Is This Answer Correct ? | 10 Yes | 3 No |
polymorphism means?
What is encapsulation in simple terms?
What is Method overloading?
what is Class in oops with example?
Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3
3 Answers Accenture, Cognizant, IBM,
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
Can you name some types of inheritance?
Why do pointers exist?
What is protected in oop?
What is overriding in oops?
What do you mean by overloading?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer