what is oop?

Answers were Sorted based on User's Feedback



what is oop?..

Answer / ravi

Object Oriented Programming Language aka OOP's language, whose basic concept and hirecarry revolve around considering code snippets as real objects of world. It's better than procedural programming language, with strongly typed language.

Is This Answer Correct ?    5 Yes 0 No

what is oop?..

Answer / maulik

A type of programming in which programmers define not only
the data type of a data structure, but also the types of
operations (functions) that can be applied to the data
structure. In this way, the data structure becomes an object
that includes both data and functions. In addition,
programmers can create relationships between one object and
another. For example, objects can inheritcharacteristics
from other objects.

One of the principal advantages of object-oriented
programming techniques over procedural programming
techniques is that they enable programmers to create modules
that do not need to be changed when a new type of object is
added. A programmer can simply create a new object that
inherits many of its featuresfrom existing objects. This
makes object-oriented programs easier to modify.

Is This Answer Correct ?    1 Yes 0 No

what is oop?..

Answer / ram

obeject oriented program.
in c only supports structured program. but latest languages c++ and java supports oops.
the data of c program is easily modified by any function in the program.
but in c++/java the data is wrapped to particular functions. so the data only modified by with in the class.
oops have features of
1)encapsulation. wrapping data.
2)inheritance. reusability of code.
3)abstraction.
4)polymorphism.
5)exception handling

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Code Interview Questions

abcdedcba abc cba ab ba a a

2 Answers  


void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }

4 Answers  


main() { int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); } a. Runtime error. b. 100 c. Some Integer not 100 d. None of the above

2 Answers   HCL, LG,


main() { char a[4]="HELLO"; printf("%s",a); }

3 Answers   CSC,


#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }

1 Answers  






char *someFun1() { char temp[ ] = “string"; return temp; } char *someFun2() { char temp[ ] = {‘s’, ‘t’,’r’,’i’,’n’,’g’}; return temp; } int main() { puts(someFun1()); puts(someFun2()); }

2 Answers  


int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d\n",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p

2 Answers  


how many processes will gate created execution of -------- fork(); fork(); fork(); -------- Please Explain... Thanks in advance..!

8 Answers   GATE,


main() { printf("%d, %d", sizeof('c'), sizeof(100)); } a. 2, 2 b. 2, 100 c. 4, 100 d. 4, 4

18 Answers   HCL, IBM, Infosys, LG Soft, Satyam,


void main() { int c; c=printf("Hello world"); printf("\n%d",c); }

2 Answers  


Find your day from your DOB?

15 Answers   Accenture, Microsoft,


struct Foo { char *pName; }; main() { struct Foo *obj = malloc(sizeof(struct Foo)); clrscr(); strcpy(obj->pName,"Your Name"); printf("%s", obj->pName); } a. Your Name b. compile error c. Name d. Runtime error

3 Answers   HCL,


Categories