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  >  J2EE  >  Core Java

 Print  |  
Question:  Wrapping an Object

Answer: What does "wrapping" an object mean?


July 07, 2008 22:13:49 #2
 rameshcpbakhya   Member Since: July 2007    Total Comments: 1 

RE: Wrapping an Object
 

Putting an object as an member variable of another object(say domain object) for providing more functionality or for business purpose is called wrapping an object. Example: wrapper classes that wraps primitive types such that primitive type values can be treated as objects

     

 

Back To Question