OOPS Interview Questions
Questions Answers Views Company eMail

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

Infosys, HP, Thyrocare,

23 49224

what is meant by files?

Infosys,

4 5195

is java purely oop Language?

HCL, Infosys, TCS,

49 25760





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

5 5465

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

L&T, Accenture,

4 12241

What is Method overloading?

5 4998

Can we call a base class method without creating instance?

5 11492




In which cases you use override and new base?

2 4493

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

4 4888

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

1 7554

polymorphism means?

BFL,

6 7586

Describe the difference between a Thread and a Process?

10 22797

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

Spinsys,

7 15865

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

1 5796


Post New OOPS Questions






Un-Answered Questions { OOPS }

• What are the desirable attributes for memory managment?

606


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

5209


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

732


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

981


#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

916


Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0

723


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?

415


Please send ford technologies placement paper 2 my mail id

707


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

20190


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

979


to find out the minimum of two integer number of two different classes using friend function

714


How to Increment the value of the empid E001 for each and every employee by using the programe?

757


diff between Virtual mathod and abstract method?

1164


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

702


how to find the correct email address format by using the programe?

1158