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

main() { struct date; struct student { char name[30]; struct date dob; }stud; struct date { int day,month,year; }; scanf("%s%d%d%d", stud.rollno, &student.dob.day, &student.dob.month, &student.dob.year); }

1 Answers  


Sir... please give some important coding questions asked by product companies..

0 Answers  


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

0 Answers  


void ( * abc( int, void ( *def) () ) ) ();

1 Answers  


how can u draw a rectangle in C

53 Answers   Accenture, CO, Codeblocks, Cognizant, HCL, Oracle, Punjab National Bank, SAP Labs, TCS, University, Wipro,






main() { char *p; p="%d\n"; p++; p++; printf(p-2,300); }

1 Answers  


main() { float i=1.5; switch(i) { case 1: printf("1"); case 2: printf("2"); default : printf("0"); } }

2 Answers  


Print an integer using only putchar. Try doing it without using extra storage.

2 Answers  


main() { extern out; printf("%d", out); } int out=100;

1 Answers  


main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }

9 Answers   CSC, GoDB Tech, IBM,


main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

1 Answers  


main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }

1 Answers  


Categories