GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Programming  >  C++

 Print  |  
Question:  Data Encapsulation

Answer: Which one of the statements concerning data encapsulation is FALSE?

A. Data encapsulation lets the programmer create an object and then provide an interface that other objects can use to invoke the methods provided by that object.

B. Programmers can change the internal working of an object, but this may be transparent as long as the interface remains unchanged.

C. Data encapsulation works well for maintaining code.

D. Data encapsulation can be easily supported by C++ classes.

E. Data encapsulation increases the complexity of programming.


June 06, 2009 00:52:05 #1
 tewari2312   Member Since: June 2009    Total Comments: 4 

RE: Data Encapsulation
 
E is false, because encapsulation decreases the complexity of the program (encapsulation is to wrap data and associated functions into a single unit called class)
     

 

Back To Question