what is oops
Answers were Sorted based on User's Feedback
Answer / lilly
Oops is a object oriented programming language. The whole
program structure is depended on the real world entity
called object. It has many features like inheritance,
polymorphism, data binding, abstraction , encapsulation
etc. It is very convinient to write programs in oops
compared to non-oops. whole program is oriented by the
object. There is nothing to do with the program without
object in object oriented programming. As the objects plays
main role and controls overall program, Hence the name
oops.
| Is This Answer Correct ? | 27 Yes | 3 No |
Answer / revathi
oops is a object oriented programming language.
the main aim is to creating an object to the entire program
and that to we can control the entire program using the object
the main feature of oops is polymorphism,multiple
inheritance,abstraction and encapsulation
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / thirupathi raju
O:object
O:oriented
P:programing
S:structure
| Is This Answer Correct ? | 0 Yes | 0 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.
What is the difference between procedural programming and oops?
what is the use of mutable key word
Why is there no multiple inheritance?
define a string class. overload the operator == to compare two strings
2 Answers Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,
How to improve object oriented design skills?
What is super in oop?
Why we use classes in oop?
What is a friend function & its advantage?
What is difference between class and object with example?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
officer say me - i am offered to a smoking , then what can you say