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 are virtual functions?

2 5353

What is friend function?

Wipro,

12 24567

What is a scope resolution operator?

HP, IBS,

5 17496

What do you mean by inheritance?

IBS,

2293

What is abstraction?

9 13611

What is polymorphism? Explain with an example.

48 132818

What is encapsulation?

TCS,

17 22418

What do you mean by binding of data and functions?

3 10363

What is function overloading and operator overloading?

4 16733

What is virtual class and friend class?

IBS, Intel, Wipro,

5 35963

What do you mean by inline function?

6 14923

What do you mean by public, private, protected and friendly?

CA,

3 10613

When is an object created and what is its lifetime?

IBM,

4 17540

What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.

2 14881

Difference between realloc() and free?

HP,

9 26366


Post New OOPS Questions

Un-Answered Questions { OOPS }

What is the important feature of inheritance?

1125


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2150


What is polymorphism explain?

1252


What is persistence in oop?

1139


What is class encapsulation?

1090


What is the difference between a constructor and a destructor?

1253


What does oop mean in snapchat?

1231


can we make game by using c

4132


What is polymorphism in oop example?

1022


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

2127


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2532


What is super in oop?

1171


What are properties in oop?

1080


when to use 'mutable' keyword and when to use 'const cast' in c++

2157


write knight tour problem which is present in datastructure

2649