Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13957

Re: beginning java...nublet drowning. throw me a lifeline?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: beginning java...nublet drowning. throw me a lifeline?
Date 2012-04-27 20:48 -0700
Organization Canadian Mind Products
Message-ID <eupmp7tqd5qlfs0egfmrf2kbqcf7fr8r4m@4ax.com> (permalink)
References <89baf7bb-7b1d-4bc0-80ba-a4881de09810@t16g2000yqt.googlegroups.com>

Show all headers | View raw


On Fri, 27 Apr 2012 16:20:12 -0700 (PDT), Justin Fondriest
<jfondriest82@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>Now whether I am right or wrong...could someone take maybe 3 minutes
>to explain what composition is in layman's terms?

see http://mindprod.com/jgloss/isa.html

There are two ways to extend a class.

An Elephant class might extend a Mammal class because an elephant is a
mammal.

An Elephant class might have a variable of the Trunk class because an
elephant has a trunk

That is all that gobbledygook means.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Programmers love to create simplified replacements for HTML. 
They forget that the simplest language is the one you 
already know. They also forget that their simple little 
markup language will bit by bit become even more convoluted 
and complicated than HTML because of the unplanned way it grows.
.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

beginning java...nublet drowning.  throw me a lifeline? Justin Fondriest <jfondriest82@gmail.com> - 2012-04-27 16:20 -0700
  Re: beginning java...nublet drowning.  throw me a lifeline? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-27 21:48 -0400
  Re: beginning java...nublet drowning.  throw me a lifeline? markspace <-@.> - 2012-04-27 20:28 -0700
    Re: beginning java...nublet drowning.  throw me a lifeline? Lew <noone@lewscanon.com> - 2012-04-28 12:42 -0700
  Re: beginning java...nublet drowning.  throw me a lifeline? Roedy Green <see_website@mindprod.com.invalid> - 2012-04-27 20:48 -0700
    Re: beginning java...nublet drowning.  throw me a lifeline? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-28 11:56 -0300

csiph-web