OOPS Interview Questions
Questions Answers Views Company eMail

What is OOPS and How it is different from Procedural Programming ?

Infosys, HP, Thyrocare,

23 53166

what is meant by files?


4 6040

is java purely oop Language?

HCL, Infosys, TCS,

49 29561

What is Object and Class? What are the differences between them?

5 6163

What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?

L&T, Accenture,

4 14043

What is Method overloading?

5 5748

Can we call a base class method without creating instance?

5 13339

In which cases you use override and new base?

2 4947

You have one base class virtual function how will call that function from derived class?

4 5421

In which Scenario you will go for Interface or Abstract Class?

1 8145

polymorphism means?


6 8362

Describe the difference between a Thread and a Process?

11 24047

Describe what an Interface is and how it?s different from a Class.


7 16957

What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?

1 6432

Post New OOPS Questions

Un-Answered Questions { OOPS }

write knight tour problem which is present in datastructure


2. Give the different notations for the class.\


can we make game by using c


Give two or more real cenario of virtual function and vertual object


diff between Virtual mathod and abstract method?


Advantage and disadvantage of routing in telecom sector


How Do you Code Composition and Aggregation in C++ ?


Templates mean


Get me an image implementation program.


explain sub-type and sub class? atleast u have differ it into 4 points?


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


What is interface? When and where is it used?


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


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).


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.