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.


July 07, 2009 09:27:18 #2
 yzesong   Member Since: July 2009    Total Comments: 20 

RE: Data Encapsulation
 
E is wrong. Everything else looks right.
     

 

Back To Question