What are the OOPS concepts?
Answer Posted / varsha patel
OOPs concepts are
1)object
2)class
3)encapsulation
4)abstraction
5)polymorphism
6)inheritance
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What are the data types in oop?
Why do we use class?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is oops?what is its use in software engineering?
What is the point of oop?
What polymorphism means?
What is oops with example?
Can we have inheritance without polymorphism?
What is abstraction in oop with example?
What is the main feature of oop?
what type of question are asked in thoughtworks pair programming round ?
What is balance factor?
What is encapsulation in ict?
Why is oop better than procedural?