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

Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.

1 Answers  


Write a C function to search a number in the given list of numbers. donot use printf and scanf

5 Answers   Honeywell, TCS,


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,


main() { int a=2,*f1,*f2; f1=f2=&a; *f2+=*f2+=a+=2.5; printf("\n%d %d %d",a,*f1,*f2); }

6 Answers  


C program to print magic square of order n where n > 3 and n is odd

2 Answers   Accenture,






How to read a directory in a C program?

4 Answers  


/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }

4 Answers  


Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)

3 Answers   Disney, Google, ZS Associates,


How do you sort a Linked List (singly connected) in O(n) please mail to pawan.10k@gmail.com if u can find an anser...i m desperate to knw...

6 Answers   Microsoft, MSD, Oracle,


how to return a multiple value from a function?

2 Answers   Wipro,


# include<stdio.h> aaa() { printf("hi"); } bbb(){ printf("hello"); } ccc(){ printf("bye"); } main() { int (*ptr[3])(); ptr[0]=aaa; ptr[1]=bbb; ptr[2]=ccc; ptr[2](); }

1 Answers  


write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??

0 Answers   Nagarro,


Categories