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


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

Re: can you give me some hints on the Oracle Java SE related certificates?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: can you give me some hints on the Oracle Java SE related certificates?
Date Wed, 23 Sep 2015 10:54:07 -0400
Organization A noiseless patient Spider
Lines 65
Message-ID <mtuedv$odl$1@dont-email.me> (permalink)
References <fa1addaf-a2c9-4a3e-9ff9-6df2a65f2f43@googlegroups.com> <mthcs7$e1j$1@dont-email.me> <92ec7821-b17d-4af8-9c99-8a7649fa64ec@googlegroups.com> <mthit8$784$1@dont-email.me> <4245d965-6d79-4bdf-accd-dc51520d3273@googlegroups.com> <mti4pt$igj$1@dont-email.me> <313f817e-9d7c-4939-a971-7e2b2a85d35f@googlegroups.com> <mtjppt$g5v$1@dont-email.me> <430f5ded-3382-476a-ae5e-ef12427e1542@googlegroups.com> <c8f4c39f-3b53-4925-abf1-90062537e19b@googlegroups.com> <mtrm76$c7$1@dont-email.me> <mtu980$75h$1@news.albasani.net> <mtua5t$70n$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 23 Sep 2015 14:53:52 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="a78aad8b483612fbf45d18e918df0cca"; logging-data="25013"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/z4hFLZG8NFVPVV4m4uZ8XOv6d2Cdfqzc="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0
In-Reply-To <mtua5t$70n$1@dont-email.me>
Cancel-Lock sha1:bSGbj/759NjBRWihhnmU/KUBveI=
Xref csiph.com comp.lang.java.programmer:32642

Show key headers only | View raw


On 09/23/2015 09:43 AM, Eric Sosman wrote:
> On 9/23/2015 9:25 AM, Sebastian wrote:
>> Am 22.09.2015 15:50, schrieb Jerry Stuckle:
>> [snip]
>>> Multiple inheritance can be a very useful technique - one that I have
>>> used occasionally in C++.  The biggest problem I've seen with it is
>>> misuse.  But it's one I definitely miss in Java.
>>>
>> I think so far it has not been mentioned in this thread that Java does
>> have indeed multiple inheritance of behavior with default methods in
>> interfaces, since Java 8.
>
>      Only to the same extent as in earlier Java versions, though.
> All that Java 8 added was default implementations of the specified
> methods, not the (potential) multiple inheritance.
>
>      That is, even in Java 1 you could get into trouble:
>
>      interface Muggle {
>          void spell(String word);
>      }
>
>      interface Wizard {
>          void spell(String charm);
>      }
>
>      class Rowling implements Muggle, Wizard {
>          // Which kind of spell() should I implement?
>      }
>
> ... or even worse:
>
>      interface Machine {
>          /** Operate the machine. */
>          void operate();
>      }
>
>      interface Surgeon {
>          /** Return true iff the patient survives. */
>          boolean operate();
>      }
>
>      class Autodoc implements Machine, Surgeon {
>          // This class cannot be written
>      }
>
 From the JLS 8:

Example 8.1.5-3. Illegal Multiple Inheritance of an Interface
interface I<T> {}
class B implements I<Integer> {}
class C extends B implements I<String> {}
Class C causes a compile-time error because it attempts to be a subtype 
of both I<Integer>
and I<String>.

Bringing the overloaded term "Multiple Inheritance" into a beginning
Java programming course in a fashion such as "No multiple inheritance
in Java" and all of its variants is harmful. If you have to bring it in
at least do it as in the example provided by the Java tutorials. If a
particular student needs more information point him to it and carry on.

That is my opinion.

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


Thread

can you give me some hints on the Oracle Java SE related certificates? John <xsli2@yahoo.com> - 2015-09-18 07:55 -0700
  Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-18 12:08 -0400
    Re: can you give me some hints on the Oracle Java SE related certificates? John <xsli2@yahoo.com> - 2015-09-18 09:17 -0700
      Re: can you give me some hints on the Oracle Java SE related certificates? e.d.programmer@gmail.com - 2015-09-18 10:38 -0700
        Re: can you give me some hints on the Oracle Java SE related certificates? John <xsli2@yahoo.com> - 2015-09-18 11:34 -0700
      Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-18 13:51 -0400
        Re: can you give me some hints on the Oracle Java SE related certificates? e.d.programmer@gmail.com - 2015-09-18 11:11 -0700
          Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-18 18:56 -0400
            Re: can you give me some hints on the Oracle Java SE related certificates? John <xsli2@yahoo.com> - 2015-09-18 20:23 -0700
              Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-19 09:29 -0400
              Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-19 10:00 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? John <xsli2@yahoo.com> - 2015-09-21 13:57 -0700
                Re: can you give me some hints on the Oracle Java SE related certificates? John <xsli2@yahoo.com> - 2015-09-21 14:04 -0700
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-21 21:47 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 15:15 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 16:47 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 16:49 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Martin Gregorie <martin@address-in-sig.invalid> - 2015-09-22 11:02 +0000
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 08:47 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 09:14 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 09:16 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 09:32 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 09:54 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? e.d.programmer@gmail.com - 2015-09-22 06:34 -0700
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 09:36 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 09:50 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 10:56 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? e.d.programmer@gmail.com - 2015-09-22 05:26 -0700
                Re: can you give me some hints on the Oracle Java SE related certificates? Jerry Stuckle <jstucklex@attglobal.net> - 2015-09-22 09:50 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 10:09 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Sebastian <news@seyweiler.dyndns.org> - 2015-09-23 15:25 +0200
                Re: can you give me some hints on the Oracle Java SE related certificates? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-09-23 09:43 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-23 10:54 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Sebastian <news@seyweiler.dyndns.org> - 2015-09-24 15:30 +0200
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-24 10:19 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Sebastian <news@seyweiler.dyndns.org> - 2015-09-24 17:12 +0200
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-24 12:05 -0400
                Re: can you give me some hints on the Oracle Java SE related certificates? Jeff Higgins <jeff@invalid.invalid> - 2015-09-22 11:17 -0400

csiph-web