ALLInterview.com :: Home Page Forum9.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
  Categories >> Software >> Programming Languages >> C++ >> OOPS       
Suggest New Category 
 


 

  Question  Asked @ Answers Views     select
 
what is difference b/w object based and object oriented programming language?  0  4
What is the differances between a abstract calss and interface Aviva  1  274
how can we design a magic square in c++?or suggest me the basic idea of it.  0  7
explain dynamic binding by drowing  0  5
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.  2  247
what is virtual destructor TCS  5  712
sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....  1  89
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).  0  16
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’. TCS  0  15
can you explain how to use JavaBean in Project Infosys   0  15
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.  0  19
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?  2  625
what is the usage of clas templates  5  449
how to swap to variables without using thrid variable in java?  3  327
Please tell me the oops concept with detailed answer EEE  3  947
E-Mail New Answers        Answer Selected Questions
 
 
 [1]   2   3   4   5   6   7   8   9   10   11   12    Next
 
 
 STL interview questions   STL Interview Questions  OOPS interview questions   OOPS Interview Questions  C++ General interview questions   C++ General Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’. 15 TCS
How to execute business logic for only once ..?even though user clicks submit button multiple times by mistake..? (i disabled JavaScript) 39  
Have you ever interfaced with a database? 54 IBM
can you explain how to use JavaBean in Project 15 Infosys
i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage?????? 35  
Contrast OOP and SOA. What are tenets of each? 108 Wipro
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me. 19  
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required) 67  
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 28  
How Do you Code Composition and Aggregation in C++ ? 534 IBM
what is difference b/w object based and object oriented programming language? 4  
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). 16  
sir plz send me a set of questions that been frequently held in written examination during campus selection. 20  
how can we design a magic square in c++?or suggest me the basic idea of it. 7  
explain dynamic binding by drowing 5  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com