Date: 10/24/05 (Java Web) Keywords: software, java JavaWorld has this trivial article on simulating multiple inheritance in Java software using delegation. What he explains in a big long-winded article with several examples, requires just one sentence to elucidate. It is an age old technique. Create instances of objects (extend them if you need using inner classes) you wanted to inherit in the first [...] Source: http://blog.taragana.com/index.php/archive/simulating-multiple-inheritance-in-java-software/
|