OOPS Interview Questions
Questions Answers Views Company eMail

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

ITM,

2333

Get me an image implementation program.

506

Prepare me a program for the animation of train

925

Write a program to get the binary tree.

ABC,

2 2538

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

4 5979

Get me a number puzzle game-program

575

what is oops

DELL,

4 3446

What is data binding?

4 14022

define oops with class and object

HCL, Tech Mahindra,

5 5312

why oops need in programming

TCS,

7 13802

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 2071

what is difference between c++ language and java language

5 3081

What is the main difference between C++ and Java

TCS,

11 8287

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 2398

what are the realtime excercises in C++?

IBM, Wipro,

1206


Post New OOPS Questions


Un-Answered Questions { OOPS }

Write a program to reverse a string using recursive function?

723


How to call a non virtual function in the derived class by using base class pointer

2712


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.

672


what is different between oops and c++

853


write knight tour problem which is present in datastructure

1087


How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram

1301


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

197


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

608


Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation

628


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

657


Get me a number puzzle game-program

575


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

1142


what is the 3 types of system development life cycle

1228


what are the ways in which a constructors can be called?

534


program for insertion ,deletion,sorting in double link list

1167