OOPS Interview Questions
Questions Answers Views Company eMail

How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?

IntraLogic,

1 8650

Contrast OOP and SOA. What are tenets of each?

Wipro,

1 11682

why c++ is called OOPS? waht is inherutance? what is compiler?

5 10339




What normal C constructs work differently in C++?

2 3146

Why and when is a virtual destructor needed?

5 11678

Why a "operator=(...)" when there is a copy ctor?

2 3272

what is object slicing?

L&T, Wipro,

9 38403

who is the founder of c++?

ONGC, Hexaware,

15 21887




//what is wrong with the programme?? #include template class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<g; g.set(); g.print(); }

1 2326

what is an instance of a class

5 4040

What is a class?

Infosys, TCS, Thylak,

32 10263

What is an object?

HCL,

13 6507

What is the difference between an object and a class?

3 3794

What is the difference between class and structure?

7 5957

What is public, protected, private?

Satyam,

6 10813


Post New OOPS Questions






Un-Answered Questions { OOPS }

officer say me - i am offered to a smoking , then what can you say

610


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...

496


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?

397


program for insertion ,deletion,sorting in double link list

1231


what's the basic's in dot net

725


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?

1295


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

2847


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).

707


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

151


class type to basic type conversion

849


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?

822


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

4506


what is the 3 types of system development life cycle

1339


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

672


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

622