OOPS Interview Questions
Questions Answers Views Company eMail

write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation

College School Exams Tests, HCL, IBM, TCS,

1 5350

write knight tour problem which is present in datastructure

2164

write string class as your own class in java without using any built-in function

1976

how does a main() in C++ is different from main() in C?

7 24798

How do you make derived class as an abstract class?

Convergys, TCS,

1 4462

Write a program to find out the number of palindromes in a sentence.

TCS,

1 3868

what is static?

4 4566

The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

TCS,

6 9122

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 4002

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.

Wipro,

1793

what is overloading

MindCracker,

3 4140

what is the diffrence between c# and c++

5 6714

How compiler selects(internally) required overridden function in inheritance?

CSC, Infinite Computer Solutions,

2 5418

They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1405

There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 3514


Post New OOPS Questions

Un-Answered Questions { OOPS }

What are the 3 principles of oop?

619


What do you mean by abstraction?

614


What is static in oop?

589


Why is polymorphism important in oop?

633


How oops is better than procedural?

587






What does and I oop and sksksk mean?

652


What is new keyword in oops?

591


Why is polymorphism used?

586


can inline function declare in private part of class?

3658


What is object in oops?

614


Why do we use class in oops?

555


What is the types of inheritance?

604


What is a class oop?

594


What is difference between inheritance and polymorphism?

573


Who invented oop?

657