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?

Infosys,

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?

BFL,

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.

Spinsys,

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

1462


2. Give the different notations for the class.\

846


can we make game by using c

2136


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

1098


diff between Virtual mathod and abstract method?

1400






Advantage and disadvantage of routing in telecom sector

117


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

21968


Templates mean

862


Get me an image implementation program.

817


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

1136


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

2720


What is interface? When and where is it used?

916


#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

1207


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

962


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.

958