OOPS Interview Questions
Questions Answers Views Company eMail

Plese get me a perfect C++ program for railway/airway reservation with all details.

ITM,

2494

Get me an image implementation program.

637

Prepare me a program for the animation of train

1026




Write a program to get the binary tree.

ABC,

2 2855

What do you mean by stack program? Get me an example stack program?

4 6483

Get me a number puzzle game-program

717

what is oops

DELL,

4 3963

What is data binding?

4 17470




define oops with class and object

HCL, Tech Mahindra,

5 5701

why oops need in programming

TCS,

7 15227

1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage

2 2341

what is difference between c++ language and java language

5 3545

What is the main difference between C++ and Java

TCS,

11 9204

I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?

3 2675

what are the realtime excercises in C++?

IBM, Wipro,

1346


Post New OOPS Questions






Un-Answered Questions { OOPS }

class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

704


write a program to find 2^n+1 ?

607


#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

934


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

5292


Write a program to sort the number with different sorts in one program ??

951


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

574


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

762


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

896


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

807


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

684


hi all..i want to know oops concepts clearly can any1 explain??

793


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.

816


c++ program to swap the objects of two different classes

678


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

795


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

444