Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

OOPS Interview Questions
Questions Answers Views Company eMail

There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1993

string is a class or data type in java?

3 5255

#include using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }

TCS, Wipro,

2 6977

#include using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile

CTS, Wipro,

1 5359

WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP

2 5383

what are the ways in which a constructors can be called?

TCS,

2 6850

what are the ways in which a constructors can be called?

2131

c++ is a purely oop concept?

Google, TCS,

3 6389

what is the advantage in software? what is the difference between the software developer and Engineer

1 3496

#include using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }

1 4369

i^=j; j^=i; i^=j; value of i,j

1 3589

program for insertion ,deletion,sorting in double link list

2683

what is a class

6 7708

• What are the desirable attributes for memory managment?

2228

Can we create object of class with private constructor?

5 8713


Post New OOPS Questions

Un-Answered Questions { OOPS }

Is data hiding and abstraction same?

1022


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.

2120


Why do we use inheritance?

1116


What is overriding vs overloading?

1058


What is the main feature of oop?

1149


What are classes oop?

1020


What is methods in oop?

976


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2066


Why is polymorphism used?

1037


What is the difference between abstraction and polymorphism?

1092


What exactly is polymorphism?

1125


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1192


How is polymorphism achieved?

1055


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2462


What are the advantages of polymorphism?

1029