What are the OOPS concepts?
Answers were Sorted based on User's Feedback
Answer / gajanan malode
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 ? | 0 Yes | 1 No |
Answer / m.radha
object oriented programming include:
*objects
*classes
*data abstraction and encapsulation
*inheritance
*polymorphism
*dynamic binding
*message passing
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / siva
Object-oriented programming (OOP) is a computer science
term used to characterize a programming language that began
development in the 1960’s. The term ‘object-oriented
programming’ was originally coined by Xerox PARC to
designate a computer application that describes the
methodology of using objects as the foundation for
computation. By the 1980’s, OOP rose to prominence as the
programming language of choice, exemplified by the success
of C++. Currently, OOPs such as Java, J2EE, C++, C#, Visual
Basic.NET, Python and JavaScript are popular OOP
programming languages that any career-oriented Software
Engineer or developer should be familiar with.
Is This Answer Correct ? | 191 Yes | 207 No |
Answer / v.rajaram
The concepts of OOPs are Objects Data abstraction Data
Encapsulation Inheritance Overloading .
Is This Answer Correct ? | 57 Yes | 112 No |
#include <stdio.h> #include <alloc.h> #include <stdlib.h> #include <conio.h> void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals.
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
What is conditional Compilation?
What are two types of polymorphism?
What is encapsulation in simple terms?
what is opps?why it is use in programming language?
Why do pointers exist?
polymorphism means?
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.
how to create thread in java?
17 Answers IBM, Infosys, Wipro,
I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?
Which is not an object oriented programming language?