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


Groups > it.comp.java > #8599

Re: casting di un oggetto

Newsgroups it.comp.java
Date 2015-10-10 14:07 -0700
References <mvbe0r$61r$1@speranza.aioe.org> <a7aab062-53da-48f7-98ea-76dc6f241a27@googlegroups.com> <22e905b3-621c-47dd-834d-3026149b16b1@googlegroups.com>
Message-ID <65c3af7c-1d35-470b-9a77-e45d327fb7c9@googlegroups.com> (permalink)
Subject Re: casting di un oggetto
From rootkit <rootkit@email.it>

Show all headers | View raw


Il giorno sabato 10 ottobre 2015 22:29:27 UTC+2, 4ndre4 ha scritto:
> On Saturday, 10 October 2015 18:04:23 UTC+1, rootkit  wrote:
> 
> [...]
> > a compile time รจ consentito.
> 
> Huh? 
> Stai dicendo che questo sotto non da` problemi a compile time? 

no, sto dicendo che *questo* non da problemi:

public interface Disney {}

public class Pippo implements Disney {}

public class Topolino implements Disney {}

...
        Disney personaggio = new Pippo();
        Topolino topolino = (Topolino) personaggio;
...

Back to it.comp.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

casting di un oggetto "Vittorio" <scipionelafricano@tim.it> - 2015-10-10 18:22 +0200
  Re: casting di un oggetto rootkit <rootkit@email.it> - 2015-10-10 10:04 -0700
    Re: casting di un oggetto 4ndre4 <a.laforgia@gmail.com> - 2015-10-10 13:29 -0700
      Re: casting di un oggetto rootkit <rootkit@email.it> - 2015-10-10 14:07 -0700
        Re: casting di un oggetto 4ndre4 <a.laforgia@gmail.com> - 2015-10-11 06:05 -0700
  Re: casting di un oggetto 4ndre4 <a.laforgia@gmail.com> - 2015-10-10 13:29 -0700
    Re: casting di un oggetto "Vittorio" <scipionelafricano@tim.it> - 2015-10-11 00:35 +0200
      Re: casting di un oggetto 4ndre4 <a.laforgia@gmail.com> - 2015-10-11 06:04 -0700
      Re: casting di un oggetto rootkit <rootkit@email.it> - 2015-10-11 08:58 -0700

csiph-web