OOPS Interview Questions
Questions Answers Views Company eMail

define a string class. overload the operator == to compare two strings

Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,

2 18942

why constructor cannt be declar virtually? why destructor cannt be overloaded?

Infosys,

2 5950

Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.

Global Academy, Infotech,

1 11784

explain the concepts of oops?

1 3655

what is object oriented programming and procedure oriented programming?

3 8266

what is function over loading?

5 6282

Differences between inline functions and non-inline functions?

Ness Technologies,

4 27026

what is the application of oops?

IBM,

8 45728

What is the difference between C++ and java?

Atos Origin,

6 11506

What is nutshell in programming language?

Satyam, Tech Mahindra,

1 12347

Can java compiler skips any statement during compilation time?

1752

DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.

5 11398

What does the keyword "static" mean?

TCS,

4 6536

What is the different between Applet and Application?

2 4336

C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.

Syncfusion,

1 5106


Post New OOPS Questions

Un-Answered Questions { OOPS }

What is the purpose of enum?

566


Are polymorphisms mutations?

687


what is the 3 types of system development life cycle

2418


What is the highest level of cohesion?

560


What is coupling in oop?

583






• What are the desirable attributes for memory managment?

1712


What language is oop?

581


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1773


What is encapsulation process?

569


What is inheritance in simple words?

607


What is the significance of classes in oop?

577


Why do we use encapsulation in oops?

508


How to use CMutex, CSemaphore in VC++ MFC

4312


Why is polymorphism important in oop?

616


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2153