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

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

HP, Infosys, Thyrocare,

23 75848

what is meant by files?

Infosys,

4 10629

is java purely oop Language?

HCL, Infosys, TCS,

49 61143


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

5 11377

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

Accenture, L&T,

4 20690

What is Method overloading?

5 10266

Can we call a base class method without creating instance?

6 23845

In which cases you use override and new base?

2 7802

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

4 9481

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

InfoAxon Technologies,

1 10746

polymorphism means?

BFL,

6 13914

Describe the difference between a Thread and a Process?

Siebel Systems,

11 33575

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

Spinsys,

7 23665

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

1 9281


Post New OOPS Questions

Un-Answered Questions { OOPS }

How to improve object oriented design skills?

1017


Can we have inheritance without polymorphism?

1027


Can you inherit a private class?

1105


What are the 4 main oop principles?

1225


What are benefits of oop?

1135


What is the purpose of polymorphism?

1126


Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation

2131


Which language is not a true object oriented programming language?

1136


What is the real life example of polymorphism?

1177


What makes a language oop?

1066


What is the difference between static polymorphism and dynamic polymorphism?

1090


Why interface is used?

1020


What are two types of polymorphism?

1076


Can main method override?

1108


What is encapsulation in ict?

1061